Hi,<br><br>It seems there was a bug in javascript-invalid-handler that caused it to just add the ucw-form-field-invalid class to elements without removing the valid class. Maybe this works on some browsers, but on Firefox
1.5 under Linux I didn't get any red borders around inputs in the example pages. I modified the functions as follows (3rd and 4th lines are new):<br><br>(defmethod javascript-invalid-handler ((field t) (validator validator))
<br> `(unless (dojo.html.has-class (document.get-element-by-id ,(dom-id field)) "ucw-form-field-invalid") <br> (dojo.html.remove-class (document.get-element-by-id ,(dom-id field))
<br> "ucw-form-field-valid") <br> (dojo.html.add-class (document.get-element-by-id ,(dom-id field))
<br> "ucw-form-field-invalid")))<br><br>And now it works as expected for me.<br><br>Regards,<br>Marijn<br>