The client side JavaScript thats generated includes a "bCancel" var - which
if set to "true" causes the validation to be skipped. So for your "previous"
processing, you can just set this variable to "true" and submit the form.

----- Original Message ----- 
From: "wo_shi_ni_ba_ba" <[EMAIL PROTECTED]>
Sent: Wednesday, March 09, 2005 11:30 PM


> I have a previous and next button, if the user
> clicks previous I don't want to validate; if the user
> clicks next I want to validate.

> for client side validation, I am thinking about inserting a hidden
> field, and then have two javascript functions
> handlePrevious and handleNext that will set the value
> of this field before submit the form, and then use
> validation rule like validwhen.  Is this a valid/good
> approach?




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to