Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#37100 closed enhancement (maybelater)

Comment Section

Reported by: tejasacquaintsoft's profile tejas.acquaintsoft Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Comments Keywords: reporter-feedback close
Focuses: Cc:

Description

Suggestion : Comments Validation must be based on the jQuery.

Change History (3)

#1 @rachelbaker
9 years ago

  • Keywords reporter-feedback close added

@tejas.acquaintsoft
Howdy, and welcome to Trac! As of WordPress 4.5 the comment form inputs include additional HTML5 validation attributes (see #10377).

As is often the case in WordPress core development, implementing this suggestion initially appears much more straightforward than reality.

I am open to using JavaScript to validate the comment form data, but is there a "one-size-fits-all" solution that fits the needs of every WordPress site?
How would you propose displaying the validation errors within the comment form?
What parameters would you use for validation?

The good news is: theme developers are able to create customized inline validation for their comment forms using JavaScript (or the jQuery library if desired).

#2 @rachelbaker
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed

Closing this ticket, may be reopened with reporter feedback.

#3 @rachelbaker
9 years ago

  • Version 4.5.2 deleted
Note: See TracTickets for help on using tickets.