Right now in core's form.inc we have theme_submit and theme_button both using <input type=submit>, and theme_image_button using <input type=image>. I am curious why there is no support for <button> for either of these cases. <button> offers so many more styling options in the first case, and would be more visibly consistent for the second case, I think.

The current arrangement seems inflexible, in that a FAPI "button" and "submit" both seem to produce the same code. I would propose giving them the obvious different meanings.

http://drupal.org/node/87626 is probably relevant.

Comments

dpearcefl’s picture

At this point, no new features will be added to D6. If you think Drupal 8 needs this feature, please assign this issue to D8.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.