- GRRRACEAsked on March 09, 2018 at 01:28 AM
How do I configure a dropdown option of numbers to only have positive numbers? Currently my form has -1, -2, -3, etc as options and I would like to eliminate that. This is my field configuration box:
WW Item Code : text : e.g. 131057
Item Description : textarea : e.g. WW Estate Pinot Noir
Vintage : text : e.g. 2016 or NV
Case/Pack + Size : text : e.g. 12/750ml
Number Bottles OC : number : # of Bottles
Number Bottles SF : number : # of Bottles
Number Bottles SD : number : # of Bottles
This is a re-post of a comment on How to Set Up the Configurable List Widget
- JotForm SupportamyAnswered on March 09, 2018 at 07:38 AM
You need to add this expression, after the hint text of the number field.
: step value, minimum number value, maximum number value
For example: Number Bottles LA : number : # of Bottles : 1, 0, 1000
step - can be a floating number (with decimal)
min - can be a floating or negative number
max - can be a floating or negative number
You can use 0 for min option to allow only positive figures.
Please go to the settings of the configurable list widget and apply these changes. You can change the value according to your own preference.
Here is my demo form:
Feel free to clone it on your end: How to Clone an Existing Form from a URL
Here is my result: