1 Reply Latest reply on Jul 11, 2007 5:39 AM by Pete Muir

    Client side validation - how to update error messages?

    steve tynor Novice

      I have a form with some client side javascript validation for which, on error, I'd like to cause the associated input widgets display with "error" state. I've looked at the seam-gen generated Edit.xhtml, and see the use of "#{invalid ? ...}", but I can't find an example of JavaScript being used for client-side validation and how to set appropriate input widget level error messages. Can it be done? How?

      Thanks!