We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2901
    • 277 Posts
    Hi all

    I try to set an &invalidClass in a Form, but the required class somehow prevents the invalidClass. whenever the form validates it brings up the validation message but not the class. any idea. I would need to put some background color to the invalid fields. The real strange thing is that vericode does work but there is no required class on it.

    Modx 1.0.3
    eForm 1.4.4.6

    Your help is very much appreciated

    I had the impression that &invalidClass would replace all classes, also the requiredClass. I also was sure the requiredClass would be set permanent to the required Fields, but it is only added in the error message. So all error fields can be modified via CSS.