A
Andrew Crowe
Hi guys,
I have recently tried to make a complex edit form easier to understand by
using the <button> tag to add icons to buttons.
The form contains several submit buttons with different names/values to
control elements of the form such as adding/deleting rows in a repeating
section.
However when I converted the <input> buttons to <button> buttons I found
that in PC IE clicking one resulted in *all* the button name/values being
submitted, not just the one clicked (making them totally useless). In
mozilla and other browsers the behaviour is that of <input> buttons, where
only the clicked button's name/value is submitted.
As the W3C html 4 spec says "Buttons created with the BUTTON element
function just like buttons created with the INPUT element" I'm guessing that
IE is (as usual) treating the buttons incorrectly. If so, does anyone know
of any workarounds/fixes I can do? Javascript is not an option, and I'd
rather not resort to using graphical <input> buttons
Regards,
I have recently tried to make a complex edit form easier to understand by
using the <button> tag to add icons to buttons.
The form contains several submit buttons with different names/values to
control elements of the form such as adding/deleting rows in a repeating
section.
However when I converted the <input> buttons to <button> buttons I found
that in PC IE clicking one resulted in *all* the button name/values being
submitted, not just the one clicked (making them totally useless). In
mozilla and other browsers the behaviour is that of <input> buttons, where
only the clicked button's name/value is submitted.
As the W3C html 4 spec says "Buttons created with the BUTTON element
function just like buttons created with the INPUT element" I'm guessing that
IE is (as usual) treating the buttons incorrectly. If so, does anyone know
of any workarounds/fixes I can do? Javascript is not an option, and I'd
rather not resort to using graphical <input> buttons
Regards,