A simple example that demonstrates how to operate with multiple submit buttons.
First value:
Second value:
Result: