[wp-trac] [WordPress Trac] #15204: JavaScript Validation should trim values and set focus on invalid field

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 24 15:46:29 UTC 2010


#15204: JavaScript Validation should trim values and set focus on invalid field
--------------------------+-------------------------------------------------
 Reporter:  batmoo        |       Owner:  batmoo         
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Validation    |     Version:  3.1            
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 If invalid fields are found after validation, focus should be placed on
 the first invalid field. Field values should be trimmed to check for truly
 empty values.

 Also worth noting, the (mostly same) validateForm is located in both
 common.js and wpAjax.js.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15204>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list