Posted on: 4/23/2015 3:57:24 PM | Views : 584

I have two buttons on a form.  Both button clicks send data to a form that is on another server.  Currently, I have the postbackurl set on each of them in form load.  I also set some other form data.  When one of the buttons is clicked, the form gets submitted and everything goes well.
My problem is that I have an email address field for each button.  The email address field has validation, and is required.  Neither button can be clicked unless it's email textbox has be filled in.  Now I want to do some stuff with the email address, and update a database after the button has been clicked, but before the form is submitted.  
I know that response.redirect won't work, as it doesn't submit the form data.  The postbackurl doesn't do what I need because the form is submitted as soon as the button is pressed without revisiting form load.  The button click event doesn't help, because I need to click the button twice b ...

Go to the complete details ...