[jQuery Validation Plugin] Automatically add class to required field
Hi,
I'm struggling with the following issue. I want to add a class to my input fields based on whether or not the input field is required (which is done by the rules in validate() ).
This class should add something like a star to the input field so the user knows it is required (I know how to do this ;-) ).
Is it possible to add a specific class to an input field based on my jQuery Validation Plugin rules?
Thanks,
Koen