Limit spinner appearance to positive integer values

1652
2
Jump to solution
11-13-2017 11:13 AM
BrentKinal1
Occasional Contributor III

I would like to not only limit the values in an integer field to positive by using a constraint but would like to limit the spinner to only show/allow positive values. I was able to do this with an input mask for a single digit integer, but need to allow for a two digit integer and 09 as the input mask it allows again for negative values. Any thoughts on if it is possible to limit the spinner to a 2 digit positive integer?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
JamesTedrick
Esri Esteemed Contributor

Hi Brent,

The spinner cannot be limited to positive values.

View solution in original post

0 Kudos
2 Replies
JamesTedrick
Esri Esteemed Contributor

Hi Brent,

The spinner cannot be limited to positive values.

0 Kudos
LeonardBarnhill
Occasional Contributor

I found a possible solution while investigating calculations using XLSXForm. 

Use the formula .>=0 and .<100 in the constraint field.  If the user enters a value outside of the range 0-99 the question will be highlighted in red and the form cannot not be submitted - see the screenshots below

0 Kudos