Form Submission

  • Thread starter Thread starter TCORDON
  • Start date Start date
T

TCORDON

How can I prevent a user from submitting a form more than once if the form
is submitted by a ImageButton that cannot me disabled?

Thanks
 
You can use the click event to add 1 to a predefined javascript variable when
the image is clicked. Then, depending on the value of the variable (=1), post
the form. Otherwise just exit the event handler...
 
Back
Top