Viewing 4 replies - 1 through 4 (of 4 total)
  • There is a filter hook for form input validation

    // filter hook for form input validation
    self::$form_errors = apply_filters('si_contact_form_validate', self::$form_errors, self::$form_id_num);

    Not sure if you need anything else?

    Mike

    validation is done in PHP processing before any output shows on the screen.

    Thread Starter sureshkm87

    (@sureshkm87)

    Hi Mike
    Thanks for the reply,
    what i need is i has to call a javascript function after the validation happened and browser is about going to display the error message.

    after server side validation processing and the DOM was ready i has to call the js function and perform some action.

    You might have to edit the process or display php file to put a do_action or filter hook somewhere. If you figure out what you need let me know.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Need to Call a Javascript function after validation happens’ is closed to new replies.