Skip to main content

Input Types

The following provides a detailed description of each input type and its associated options.

Number Input

The NumberInput enables inputting a number as an integer or a float.

NameA unique variable name to be used in the Code step as input to the main function
LabelThe label that describes what the input represents to the user
Conditional InputA set of conditions that controls whether the input is invisible or disabled
UnitsThe units that would be displayed to the user. The units will be rendered in Latex/Katex
Default ValueThe default value when the app is initally loaded without any changes from the user
RequiredIf checked, the app will not run unless the value is not empty. Otherwise, empty values are allowed
DisabledIf checked, this input will be greyed out and not editable. Otherwise, the input is editable
Read OnlyIf checked, this input will not editable. Differs from disabled in that it's not greyed out
StepThe precision by which the user can input a number, ie. the step size
MinThe minimum value that the user can input
MaxThe maximum value that the user can input
RandomizedRandomize the default value to a random number within the min and max range, and with the step size.

As an example, the following image displays an input group with one number input labelled: "Distance" with a default value of 10mm10mm and a precision of 0.001mm0.001mm. The minimum and maximum values allowed are 0 and 10,000. The variable name to be used in the Code step is dist.

img alt

img alt


When editing an input, don't forget to click on APPLY CHANGES at the bottom of the screen to save your work