I understand the use of validators in general, and see
how they can work for simple forms, but what about
more intricate forms which have several post backs?
For example I have a form with a section that lets
you search a database for a list of names, refine that
search, and then send an e-mail message to everyone
in the search results.
Its all on one page. There is one button that updates
the recipient list by querying the database, and there's
another that sends the e-mail.
I only want to validate the form when the 'send e-mail'
button is pressed. Is there a way to do that and have
the validator ignore the other postbacks?
how they can work for simple forms, but what about
more intricate forms which have several post backs?
For example I have a form with a section that lets
you search a database for a list of names, refine that
search, and then send an e-mail message to everyone
in the search results.
Its all on one page. There is one button that updates
the recipient list by querying the database, and there's
another that sends the e-mail.
I only want to validate the form when the 'send e-mail'
button is pressed. Is there a way to do that and have
the validator ignore the other postbacks?