Hello and Good Morning.

I'm working on a project where I have several forms each containing submit buttons.

At the moment, I've defined all the submit buttons with name="Action" and when any given button is clicked, the formHandler.asp page only runs a segment of code if, for example, Action = "Save User". Here's a visual of what I mean:

HTML Code:
<form name="form1" id="form1" method="post" action="formHandler.asp">
     <input type="submit" name="Action" value="Save User" />
</form>
<form name="form2" id="form2" method="post" action="formHandler.asp">
     <input type="submit" name="Action" value="Save Category" />
</form>
PHP Code:
Dim Action
Action 
Request.Form("Action")

If 
Action "Save User" Then
    
Do stuff here
End 
If
If 
Action "Save Category" Then
    
Do stuff here
End 
If 
SO, I'm wondering if there's another way I can do this. How do I call a function when a button is clicked/form is submitted instead of the above example? The reason I want to do it differently is because I want to use input type="image" instead and I can't give that a value.