Required field validators

  • Thread starter Thread starter Eric Sabine
  • Start date Start date
E

Eric Sabine

Can I have RequiredFieldValidators only apply conditionally? For example, a
page has 2 sections, top and bottom. I want the requireFieldValidators on
the top to only be applicable when I click a button in that area. Likewise,
I only want those on the bottom to test for data when the user clicks on the
bottom button.

Thanks
Eric
 
Hi eric,

each time you click a botton, you should post the page back to the
server. In the event handling the Button click you should enable or
disable the validators.

Hope this help

Stefano Mostarda
Rome Italy
 
Back
Top