How to toggle the field validation manually

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10038057
    hidroxid
    Participant

    Hello

    Standard validation runs perfectly when the form is submitted.

    The fields that are not valid are warned red and the validating text appears.

    When the user edits that field and places the information, the warning disappears and turns green.

    I have a field with validation to which I insert information with $ (“#field”). Val (“new value”)

    The question: which method should I invoke after that assignment so that the warning is removed and turns green?

    Or i need insert the information with other method?

    Thanks.



    Template Version: 8.3.0
    #10038061
    Support
    Keymaster

    Hello, you must call the valid() function, example:

    $("#myform").valid();

    Jonas


Viewing 2 posts - 1 through 2 (of 2 total)

This topic is marked as "RESOLVED" and can not rceive new replies.