Bug Tracker

Ticket #2215 (closed enhancement: fixed)

Opened 8 months ago

Last modified 3 months ago

[validate] Checking if a form is valid without triggering UI feedback

Reported by: ericw Assigned to: joern
Type: enhancement Priority: minor
Milestone: Component: core
Version: Keywords:
Cc: Needs: Review

Description

I'm wondering if there is a way to check if a form is valid without triggering UI feedback for invalid fields in the form? I tried both the $('#myform').valid() and validator.form() methods, but they both trigger the UI.

Attachments

Change History

Changed 8 months ago by joern

  • owner set to joern

Changed 4 months ago by joern

  • status changed from new to closed
  • resolution set to fixed

Fixed in [5561], use validator.checkForm to validate without UI feedback.

Changed 3 months ago by joern

  • status changed from closed to reopened
  • resolution deleted

Patch broke unhighlighting when validating a single element, eg. on blur. Unhighlight only the currently validated elements instead.

Changed 3 months ago by joern

  • status changed from reopened to closed
  • resolution set to fixed

Fixed in [5720].

Note: See TracTickets for help on using tickets.