Cannot change name attribute of comment submit button
|Reported by:||willi828||Owned by:|
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()).
Change History (9)
comment:6 DrewAPicture — 7 weeks ago
- Focuses template added
- Keywords dev-feedback added; needs-docs removed