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

    Feature request: Conditional field validation

    Asked by NRCsupport on March 22, 2014 at 07:53 PM

    We sell places for our events using a JotForm. We would like to offer different prices for adults and children. Each form can be used for up to 8 places. If we put two fields on the form - one for number of adults and one for number of children, we would need to prevent submission (or moving to the next page), if the sum of these two fields is either zero or greater than 8. Is there any way of doing this.

  • Profile Image
    JotForm Support

    Answered by jonathan on March 23, 2014 at 12:30 AM


    I understand what you meant here.

    Currently when using Calculation feature, the resulting field has no validation type when use in Condition Logic. Or I think it is just a string/text type.

    When in Condition Logic wizard, you cannot set numerical type rules .i.e greater than, less than to the Calculation field (because it does not see it as number type)


    In my test form http://form.jotform.me/form/40808932873463?  I could have easily use condition like 

    IF Total > 0 AND Total < 9 

    SHOW page break

    (This condition could have satisfied your idea on the form)


    I will submit a request ticket to check on the Calculation field to have validation when use in Condition Logic.

    Inform us if you have further inquiry.