I have a form with 3 different "Submit" buttons, and I want each of them to map to a particular Submit handler.
I have included these items using the following, generic, pattern:
array( '#prefix' => '<td>', '#suffix' => '</td>', '#type' => 'submit', '#value' => 'Update', '#submit' => array('user_profile_details_edit_phone_submit') )
But, every time I click the "Submit" button, the incorrect function is called. The function that IS called is the LAST function I add to a submit handler in this way.
Am I doing something wrong?