When do client-side validators work?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Dong_Liang
Posted On:   Wednesday, June 25, 2003 01:12 AM

If both the client-side method (the "javascript" element of the "validator") and the server-side method (the "method" attribute of the "validator") exist, when do client-side validators work?


Why are client-side validators not called in my app, even when I set validate to be false in Action element and use javascript tag in my jsp like this:


			



Thanks:)

Re: When do client-side validators work?

Posted By:   Dong_Liang  
Posted On:   Wednesday, June 25, 2003 11:58 PM

I got it by myeself:).


I should use "onsubmit" attribute to the tag, and write this in the corresponding jsp:






But I don't know the function of