Check if a field meets its requirements before outputting CSS