Hi Thiago, thanks for the response, however it doesn't completely answer my
question. I'll try to explain this a little better. 

I have two submit buttons, one called Save Changes, the other called Submit
Changes. Although a particular field may have two types of validation at
render, they both may not be needed on submit depending on action. See below
for example email field and actions. 

Save Changes - Action
required - false
email - true

Submit Changes - Action
required - true
email - true

It's purpose is to allow a user to work on a form and save changes to the
database and be able to come back to it at a later time where they could
then finish up before submitting to the next state. 

So I guess the question is can I disable the required validation based on a
submit action without canceling out type validation.  In jQuery Validator,
you can use a class called cancel in your submit action to cancel out that
particular actions required validation. 

I ran into a wall with jQuery and now I'm trying to see if tapestry can
handle this for me. 

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Disable-validation-on-submit-button-tp5562257p5562365.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to