[wp-trac] [WordPress Trac] #49039: JavaScript/jQuery validation for comment form (was: jQuery validation for comment form)
WordPress Trac
noreply at wordpress.org
Thu Dec 19 13:23:14 UTC 2019
#49039: JavaScript/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 | Resolution:
Keywords: | Focuses: ui
-------------------------+------------------------------
Comment (by guddu1315):
Replying to [comment:1 subrataemfluence]:
> Rather than adding JavaScript validation, what if we go with `required`
attributes for mandatory fields.
Hi @subrataemfluence
That is also fine. But considering the old browsers compatibility
(https://caniuse.com/#feat=mdn-api_htmlinputelement_required), JavaScript
validation would be a better option.
Thanks
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49039#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list