Development

#2425 (FormHelper should use BUTTON tag instead of Input/Submit)

You must first sign up to be able to contribute.

Ticket #2425 (closed defect: wontfix)

Opened 2 years ago

Last modified 2 years ago

FormHelper should use BUTTON tag instead of Input/Submit

Reported by: dhooge Assigned to: fabien
Priority: minor Milestone:
Component: helpers Version: 1.0.0
Keywords: form button submit Cc:
Qualification: Unreviewed

Description

Using <button> instead of <input type="submit"> is a good practice. It provides more control over the content like including images. It also helps I18N because the value of the button is never displayed to the end-user.

See also #2342 for testing.

Change History

12/07/07 20:05:55 changed by fabien

  • status changed from new to closed.
  • resolution set to wontfix.

We won't change this in symfony 1.0 and as these helpers are deprecated in symfony 1.1, I won't fix this. In symfony 1.1, you are responsible for output input buttons in pure HTML.

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.