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 Add a Condition Like If Field A Greater than Field B, Do ... ?

    Asked by sarox85 on December 03, 2015 at 08:45 AM

    hello, can I do a conditional rule with "greater than"....

     

    Es: If A greater than B then send email Y

    greater than Than a send email hello then
  • Profile Image
    JotForm Support

    Answered by mert on December 03, 2015 at 10:14 AM

    Hi,

    Yes, it is possible with some "Form Calculation" fields and some conditions. The reason of "Form Calculation" field usage is that you choose the options "Greater than" or "Lesser than" in conditions for "Text Box" fields.

     

    To do that,

    You need to create "A", "B" "Text Box" fields and 2 "Form Calculation" fields (Also, make them hidden) to transfer "Text Box" fields' values to them.

     

    Then create the following conditions to transfer values from "A", "B" to "Calculation A", "Calculation B".

     

    After those steps, you can add conditions for greater or lesser than actions. The conditions will be similar with the following ones. 

     

    Also, you can find the demo from the link below:

    https://form.jotform.com/53363982276970

     

    If you encounter any error, please let us know.

    Thanks.

  • Profile Image

    Answered by bekmarketing on March 09, 2016 at 09:35 AM

    Is there away to have a form not allow a submit if a certain field is over the allowed number?

     

    For Example we do not want people to be able to submit for more than 8 tickets. So if the total number of tickets is greater than 8 I do not want the submit button to work.

     

    https://form.jotform.com/60674853454968

     

  • Profile Image
    JotForm Support

    Answered by mert on March 09, 2016 at 09:57 AM

    Unfortunately, there is no direct way to do that; but we can add "Show/Hide a Field" condition to hide "Submit" button and popup some warning on your form.

    The setup of the condition will be similar with the one below:

     

    Also, you can see the example run from the following screen recording:

     

    I hope this one will meet your needs. For further assistance, you can always reach us.

    Thanks.

  • Profile Image

    Answered by bekmarketing on March 09, 2016 at 10:53 AM

    Yes that will work!

    Thanks!

  • Profile Image
    JotForm Support

    Answered by mert on March 09, 2016 at 11:11 AM

    You are most welcome. If you encounter any error while you are in the making process, please do let us know.

     

    Regards.