Disable Validation for HTML submit button
Posted on 2013-10-30
I have web page designed in Visual Studio 2003.
On that page I have 20 text fields and a save button. (all ASP controls)
On some of the text fields there is a basic validation set. (to not allow empty fields to be saved)
For Save button there is a property called causesValidation that is set = True by default, so my validation works fine for this button.
However, in addition to all this, on the same page ,I have Upload file HMTL fields that include Browse and Upload buttons (in basic HTML, I believe)
I browse to the file I want to upload fine. When I click on Upload button, that click causes validation on my text fields (mentioned above)
How I can set the HTML submit button to NOT cause validation? and to simply proceed with the upload process only.