...
You can restrict the set of values that the end user can provide to the input by using the setMinsetFrom()
and setMaxsetTo()
methods.
Code Block | ||
---|---|---|
| ||
api.inputBuilderFactory() .createIntegerUserEntry('NaturalNumber') .setMin(0setFrom(1) .setTo(100) .getInput() | ||
Warning | ||
As of version 7.3, the input validation has not been implemented in the frontend application. However, you can still set these properties in the Groovy logic. |