What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Is it possible to disable real-time validation for required fields?

    Asked by rcheriel on April 04, 2011 at 03:09 PM

    If someone clicks inside a required field but then decides to jump to another field, it flags the initial field as "This field is required." Is it possible to disable this functionality so you only have validation upon form submission?

  • Profile Image
    JotForm Support

    Answered by NeilVicente on April 04, 2011 at 07:42 PM

    Hello,

    The answer is no. Required field validation is done on the client-side as it uses Javascript, a client-side scripting language. I see server-side validation possible, but that would mean every single attempt to submit without the required fields will count as one submission. I don't think that's desirable because it will use up your submissions limit.

    You can either implement a PHP validation process using the HTTP POST data gathered from a submission, or you can achieve validation by using conditions to send a user back to the form if he misses a required field.

    But ultimately, like I said, each attempt will count as one submission.

    Hope this clears things out. Let me know if you have further questions.

     

    Regards,

    Neil