more than one button on a form with validators

C

Carlos

Hi all,

I have a form that have 2 buttons. My problem is that
there is one button that should not trigger the validations
of the fields before submitting. What is the best way to
handle this situation?

Thanks in advance,

Carlos.
 
J

Jesse Houwing

Hello Carlos,

Set the causesvalidation on thet button to False, or set a different ValidationGroup
for that button.

Jesse
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top