On 10/11/2014 01:43 PM, martijn.list wrote:
> I have a text field with the following validation annotation:
> 
> "validate = required, maxLength=255, regexp=^[A-Za-z0-9_]+$"
> 
> The strange thing is that for the required and maxLength validation, the
> client side validation is not working. The page will only do a server
> side validation. The client side validation for regexp however seems to
> work.
> 
> Jumpstart7 (using 5.4 beta 22) seems also not to work with client side
> validation:
> 
> http://jumpstart.doublenegative.com.au/jumpstart7/examples/input/tapestryvalidators
> 
> Another problem I have with client side validation is that I'm unable to
> disable client side validation for regexp. Even if I set
> t:clientValidation="none" on the form, client side validation is still
> done.
> 
> Any idea what might be causing these client side validation problems
> with 5.4 beta?

Hmm I just noticed that the validation for required and maxLength is
actually done on client side (unless client side validation is
disabled). The reason why it did not look that way is that client side
validation of the regexp looks completely different, not a red error
message underneath the text field but a popup. Is there a reason the
client side error messages look so differently between validators?

The other problem still stands. I'm unable to disable client side
validation for the regexp validator.

Kind regards,

Martijn Brinkers

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to