By Anonymous (not verified) on
I have two buttons in form. If they are button type, everything works fine. But when Ill change them to image button type, strange behavior occurs. When I press button 1, button 2 action is executed. If I press button 2, button 2 action is executed. That means that no matter which button I submit, action of the last one in form takes place.
I searched here, I googled but I didn't find any reference to this strange behavior. Have anybody come across this issue or better have a solution?
Yes, I know that I can use CSS, but even it that's ok, Ill like to know where the problem is.
Comments
Same problem here. Using
Same problem here.
Using Drupal 7 latest release.
Apparently a bug. I'll dig into this more tomorrow.
http://drupal.org/node/206955
http://drupal.org/node/206955