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

    How to conditionally show error message on the form?

    Asked by davidgrayvideos on October 08, 2016 at 04:31 AM

    I have 2 date fields successfully working to determine the age of a customer.

    However, if the customer is under 18 years old I want the text to show they are underage and hide the submit button. I can work out it all expect I don't know which condition/calculation to use to display the underage text.

    Page URL:
    https://form.jotformeu.com/davidgrayvideos/full-wedding-application

    error conditionally show message form age
  • Profile Image
    JotForm Support

    Answered by Nik_C on October 08, 2016 at 07:00 AM

    You can achieve that by using Text field:

    I created condition that will show that text if a person is younger than 18:

    And this is how it works:

    Here is my form if you want to check how it works by yourself: https://form.jotform.com/62813023149955

     

    Hope it helps. 

    If you need any further assistance please let us know.

    Thank you!