How do i know which submit button has been clicked on the server script if i post a form that has 3 different submit buttons that post to the same page ?
The easiest way to do this is by putting different values in each button. E.g. Add Customer, Delete Customer, Edit Cusotmer.<br><br>You can then check the value of the button selected and then proceed with whatever functions etc you need to do.<br><br>e.g.<br> If Submit = "Add Cutomer Then<br> Do some stuff<br> ElseIF Submit = "Delete Customer" Then<br> Do something else<br> End IF<br><br>Hope this helps<br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.