JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
How to set up condition for dropdown using equal or greater thanAsked by Joy on May 21, 2015 at 05:37 PM
I have a dropdown box with sets of values. When a selection is made, i want to check if the value selected is equal or greater than the value in another field. If it is, then it will show ok status, otherwise, invalid status.
Right now there is no greater/less condition for the dropdown box.
For the "Greater Than" and "Less Than" option to show up, you need to use a "Number" field. You then use the field tag for the second field to compare the two:
Here is a quick test form I setup to show you how it works:
If you have any further questions, let us know and we will be happy to help.
I understand that it needs to be a Number field. However, I need a dropdown to limit user's entry. Can a dropdown be a Number field?
My apologies, by number field, I meant an actual number field, not a dropdown:
Though the greater than less than comparison cannot be used on a dropdown field, you can use the dropdown selections to populate a number field, then compare the number fields. I just setup on quick condition:
And added that to my test form to show you that working: