Bug Tracker

Modify

Ticket #2215 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

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

Reported by: ericw Owned by: joern
Priority: minor Milestone:
Component: core Version:
Keywords: Cc:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 5 years ago by joern

  • Owner set to joern

comment:3 Changed 5 years ago by joern

  • Status changed from new to closed
  • Resolution set to fixed

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

comment:4 Changed 5 years ago by joern

  • Status changed from closed to reopened
  • Resolution fixed deleted

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

comment:5 Changed 5 years ago by joern

  • Status changed from reopened to closed
  • Resolution set to fixed

Fixed in [5720].

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.