|
<<<Note that in my example, all the fields are edited at once, all theYup, I understand that, Michael. I've already done that, creating a class for error messages and a class for input fields in error. And on client-side validation, it's easy to define the class to apply to a field when an error occurs. The problem is that, using server-side validation, I haven't found the JSF keyword (if one exists) that will tell a field to use an alternate style if the field is in error.
messages are shown. My only downfall right now is that I haven't
figured the easy way to "reverse image" the input field when it's in
error. I'm certain there is a way, but if there isn't we need a way to
add that. It should be as easy as checking for an error and applying a
different style if there is one. >>>
Use CSS to change the background color and the text color.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.