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.
Is there a way to allow only even numbers?Asked by pictureperfectalbums on January 23, 2015 at 10:33 AM
I need the user to only input even numbers. The options are too long to list in a dropdown list.
Can I check user input to only allow even numbers?
allow only dropdown list even number odd number
Do you mean 11 digits instead?
You can use the input mask:
Or the max size property:
You can test the form and mouse over the fields for more information:
Let us know if we can assist you further.
That's great to know but I meant even numbers as in 2, 4, 6, 8, etc...
I do not think that we have such fields with limited inputs, but it is possible to check if the value is even/odd using conditional logic on form.
Here we forward the value to the Even field if it ends with 0, 2, 4, 6 or 8.
Is this something that can be used on your form?
Yep, that's perfect.