it is as you say... had this problem some days ago.
you have to apply both validators. 


g,
kris




leechj <lee...@gmail.com> 
13.04.2009 15:02
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
users@tapestry.apache.org
Kopie

Thema
Re: Maxlength Client Validation Error








Sorry to bring this up againbut I wasn't able to find any other topics on
this.
I just want to make sure that it's not just me. Am I doing something wrong
or is it really a requirement to mark a field as "required" to make
"maxlength" client side validation work correctly?


leechj wrote:
> 
> Hi All,
> I'm running into an error on my forms when I have textfield elements 
that
> specify a "maxlength" validator but not a "required" validator. I get a
> javascript error of: "this.requiredCheck is undefined" Luckily, the 
server
> side validation catches it if it's too large of a value, but it would be
> nice to have his handled on the client side.
> 
> My elements that have both "required" and "maxlength" work as expected.
> 
> Thanks for any help!
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maxlength-Client-Validation-Error-tp22992514p23022120.html

Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


Reply via email to