Nesting forms or a way around it?


this would fall flat without JavaScript enabled!

with more and more users on the mobile web, backwards compatibility is more important than ever.

The old (and backwards compatible) approach is to use one form.

When you receive the parameters, evaluate the value of the submit button that was pressed (it’s value will be the button your user pressed.) Based on this, fire the appropriate method.