[wp-trac] [WordPress Trac] #22792: Cannot change name attribute of comment submit button
WordPress Trac
noreply at wordpress.org
Thu Dec 6 17:03:02 UTC 2012
#22792: Cannot change name attribute of comment submit button
-----------------------------+-----------------------------
Reporter: willi828 | Type: feature request
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Comments
Version: 3.4.2 | Severity: normal
Keywords: |
-----------------------------+-----------------------------
This prevents developers from using client-side validation, as the name
attribute being set to "submit" interferes with the .submit() method. I
can change the id and the label of the submit button, but that is all.
The default WordPress server-side validation is unacceptable from a user-
experience standpoint.
This would be the solution for me, which I find cumbersome
(http://wordpress.stackexchange.com/questions/65001/error-when-posting-
comment-form-the-error-is-typeerror-eh-is-not-a-function).
The developer should be allowed to set the name attribute of the submit
button (maybe through the use of comment_form()).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22792>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list