Forms validation: Enabled turning on and off red colour for fields in error (partially fixes #4812)

Also renamed gray colour variable names to avoid conflicts with Bootstrap variables.