[support] multiple buttons with same #value D5

Earnie Boyd earnie at users.sourceforge.net
Wed Mar 25 16:07:34 UTC 2009


Quoting Ivan Sergio Borgonovo <mail at webthatworks.it>:

>
> But since all buttons should have the same #value, I can't see how I
> could understand which one was pressed in the _submit function.

Do you have access to #name?  In your example it is set to the value  
of the id.

--
Earnie
   http://r-feed.com
   Make a Drupal difference and review core patches.

-- http://for-my-kids.com/  -- http://www.4offer.biz/


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the support mailing list