Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#37100 closed enhancement (maybelater)

Comment Section

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

Description

Suggestion : Comments Validation must be based on the jQuery.

Change History (3)

#1 @rachelbaker
10 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
10 years ago

  • Milestone Awaiting Review
  • Resolution → maybelater
  • Status new → closed

Closing this ticket, may be reopened with reporter feedback.

#3 @rachelbaker
10 years ago

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