How can I set the required form fields NOT to validate until submitted?

  • Profile Image
    calegion
    Asked on April 01, 2012 at 08:33 PM

    It's annoying when you skip a field and it has all these highlighted errors. I want my form not to show these required field errors until AFTER the user attempts to submit. Is this possible?

  • Profile Image
    mliz
    Answered on April 01, 2012 at 11:08 PM

    Unfortunately this is currently not possible within the form builder. The field validation is done on the client side since it uses JavaScript scripting language. You can probably achieve the validation behaviour you wish to have by downloading the full source code and embed it to your website then use your own JavaScript code. However once you do this the form warning or error messages of JotForm will no longer be used.

    Below are some links which you may find helpful in form validation:
    http://www.w3schools.com/js/js_form_validation.asp
    http://www.tizag.com/javascriptT/javascriptform.php

    Thanks!