Sometimes you need to have several actions to be submitted on the same form. Usually you only have one button for this which points to the place you define on the
FORM ACTION block.
So, how can you detect which button was clicked in plain HTML?
You can use the
value variable on button, this way:
<FORM METHOD="whatever" ACTION="/your/endPoint/">
And in your code just check the
btnAction parameter variable for
maybe values. Easy!