Basically, I have a website that dynamically creates submit buttons. Ex:
input type="submit" name="test1"
input type="submit" name="test2"
and so on....
How would I find out which button was pressed (test1, test2, test3, etc)?
I know you can create multiple forms instead with a hidden value but I would rather just have 1 giant form with multiple submits.
Edit: The buttons are created dynamicly so I don't know how many there will be. It could be test1-test55 so I need to create something that looks at all the possibilities automatically.