[wp-trac] [WordPress Trac] #58968: Client side validation for comment form

WordPress Trac noreply at wordpress.org
Thu Aug 3 11:19:41 UTC 2023


#58968: Client side validation for comment form
--------------------------------------------+------------------------------
 Reporter:  jomonthomaslobo1                |      Owner:  (none)
     Type:  enhancement                     |     Status:  new
 Priority:  normal                          |  Milestone:  Awaiting Review
Component:  General                         |    Version:  trunk
 Severity:  normal                          |   Keywords:  changes-
  Focuses:  ui, javascript, sustainability  |  requested
--------------------------------------------+------------------------------
 == Bug Report
 === Description
 Client side validation for the guest user conment form .

 === Environment
 - WordPress: 6.3-RC3-56344
 - PHP: 7.4.33
 - Server: Apache/2.4.54 (Unix) OpenSSL/1.0.2u PHP/7.4.33 mod_wsgi/3.5
 Python/2.7.18 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_perl/2.0.11
 Perl/v5.30.1
 - Database: mysqli (Server: 5.7.39 / Client: mysqlnd 7.4.33)
 - Browser: Chrome 114.0.0.0 (macOS)
 - Theme: Twenty Twenty-Three 1.2
 - MU-Plugins: None activated
 - Plugins:
   * WordPress Beta Tester 3.5.2

 === Steps to Reproduce
 1. Go to any WordPress post
 2. Input any invalid data in any input field
 3. Click submit button


 === Expected Results
 1.  Page should not redirect
 2.  Validation error for all error fields should show

 === Actual Results
 1.  Redirected to a new URL with error page
 2.  Shows only first validation error in the form
 [[Image(https://i.ibb.co/12Pdb0W/Screenshot-2023-08-03-at-4-47-37-PM.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58968>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list