[wp-trac] [WordPress Trac] #49039: jQuery validation for comment form
WordPress Trac
noreply at wordpress.org
Thu Dec 19 12:21:10 UTC 2019
#49039: jQuery validation for comment form
-------------------------+-----------------------------
Reporter: guddu1315 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 5.3.1
Severity: normal | Keywords:
Focuses: ui |
-------------------------+-----------------------------
Hello,
When a user tries to submit the comment form with blank values. He/She is
redirected to **domain.com/wp-comments-post.php** which is quite bad in
terms of UI/UX.
As the user is redirected to another page and then he comes back to the
same page.
So basically we redirect the user to another page just to show the error
messages.
It would be great if we can manage validations using JavaScript or jQuery.
So the user gets the error messages on the same page he doesn't have to go
anywhere.
Thank you.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49039>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list