Jun 19th, 2010, 7:06 AM
Hi,
what is the easiest way to check if an validation error occured on a particular field?
I want to have something like this:
...
If error exists for email => show red input field for email
Else => show regular input field for email
If error exists for phone => show red input field for phone
Else => show regular input field for phone
...
Please advise me how to check for errors on only particular fields.
br,
Hannes
what is the easiest way to check if an validation error occured on a particular field?
I want to have something like this:
...
If error exists for email => show red input field for email
Else => show regular input field for email
If error exists for phone => show red input field for phone
Else => show regular input field for phone
...
Please advise me how to check for errors on only particular fields.
br,
Hannes