-
JBsignsbvbaAsked on September 14, 2020 at 7:14 AM
Hello,
The field must contain whole numbers, nothing after the comma. In other words, it must not be possible to insert a comma or a dot. Please find a solution.
Thanks
-
mediaprogenomicsReplied on September 14, 2020 at 7:52 AM
Hello,
Do you want to restrict the field to only accept whole numbers(no decimals)? You can achieve this by using Form Calculation widget. Please select Add Form Element >> WIDGETS >> Search for Form Calculation widget. On the right hand side, click ... >> select OPTION and find Decimal Places in Numerical Results. Select 0 from pull down menu.
I hope you will get the result you are looking for by following this.
Cheers,
Yuta
-
Vick_W Jotform SupportReplied on September 14, 2020 at 8:28 AM
Hi there,
If you wish to restrict a field to so it can only accept a whole number then here is how you can do it. You can check this sample form first that I've created for you.
https://form.jotform.com/202573797779072
Here is how you can clone it.
https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL
Here is how you can stop users from entering a "." or a "," in the field. These are the fields that you'll need.
Here are the form calculation settings.
Following is the condition you'll need to create.
You can not enter a "," or "." into the field now.
Let us know if you have any questions or concerns.
Thanks.