I have a page with three forms.
I’d like to run different db calls corresponding to the button clicked.
I have a 2 lib functions. One validates, and the passes it to the _submit function…
How can I separate the _submit function based on which submit button is clicked?
alt text http://img339.imageshack.us/img339/171/screenshot20100119at245.png
You can either set up 3 different forms, each with its own action, or you can set different values for each submit button and take action based on the value of the
submitvariable.View
Controller