'Cancel' button triggers page validation

Results 1 to 2 of 2

Thread: 'Cancel' button triggers page validation

  1. #1
    Join Date
    Dec 1969

    Default 'Cancel' button triggers page validation

    Hi,<BR><BR>I have a member registration form, with numerous fields, validator controls, and buttons for submit and cancel. I wrote a function for cancel button click, that clears all the text boxes. But if I click the cancel button, it not only clears the text boxes, but also shows the validation summary error messages because all the fields are empty. Can anyone explain me why this is happening. And how to do it the right way.<BR><BR>Thanks.<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: 'Cancel' button triggers page valida

    i think u need to set the causevalidation of the Cancel button to false.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts