D6 has the clicked_button value set:
Instead of just returning the value of the clicked button in $form_state['op'], you get the entire form element returned.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
Ivan Sergio Borgonovo wrote:
On Wed, 25 Mar 2009 16:32:10 +0100 Ivan Sergio Borgonovo mail@webthatworks.it wrote:
I had to resort to some Web 1.5 techniques
$form['add'][$id]=array( // '#type'=>'button', '#type'=>'submit', '#name'=>$id.'-add', '#value'=>t('Add'), ); }
roll over qty
foreach($form_values['qty']... if($form_values[$key.'-add']==t('Add');
Did things get better in D5+?