Skip to main content

Input Field

This element is a field in which it is possible to write text or number inputs. It is possible to add constraints such as requiring an input that is not empty or only allowing what matches a certain regular expression.

This element must be used with the HMI context.

Icon

Field Input

HMI Representation

Field Input HMI

External parameters

Show/Hide all parameters
parametereditable via "Parameter" tabupdatable via a mappingdescriptionunittype
X-axis position✔️✔️Position of the element on the X-axis.pxInteger number
Y-axis position✔️✔️Position of the element on the Y-axis.pxInteger number
Angle✔️✔️Angle of rotation of the element compared to its initial position.degreeDecimal number
Width✔️Length of the element on the X-axis.pxInteger number
HeightWidth of the element on the Y-axis.pxInteger number
Visibility✔️✔️This parameter allows you to choose if you want the element to be visible or not on the scene during the execution of the scenario. If the item is part of a group, it can inherit the value of that group.-Enumeration (visible, hidden, inherit)
Text Font Size✔️✔️Size of the font used in the field.-Integer number
Type of input✔️✔️Whether the input type is a text or a number.-Enumeration (Text, Number)
Input Text✔️✔️Content of the field if the Type of input is set to Text.-Text
Input Number✔️✔️Content of the field if the Type of input is set to Number.-Decimal number
Input Number Step✔️✔️Step between each value of the input field if the Type of input is set to Number.-Decimal number
Regex✔️✔️Regular expression that specifies a match pattern to be required. It will give feedback to the user if it does not match.-Text
Disabled✔️✔️Whether or not the element can be used in Run Mode.-Boolean
Required✔️✔️Display a error message if it is empty. But the value can still be retrieved, whether or not Input Field is filled in.-Boolean

Triggered behaviours

See Triggered behaviours and events page for more explanation: Triggered behaviours and events.

Show/Hide all triggered behaviours

Destroy

At the reception of the flow, the element is destroy.

No parameters for this triggered behaviour.

Events

See Triggered behaviours and events page for more explanation: Triggered behaviours and events.

Show/Hide all events
eventdescription
On Parameter Value ChangedThe element can send information to the model when the value of the selected parameter has changed
On changeThe Field input can send information to the model when its content changes.
Regex RightThe Field input can send if the Regular Expression matches the content.
Regex WrongThe Field input can send if the Regular Expression does not match the content.
At initializationThe Field input can send information to the model once at initialization.
ContinuallyThe Field input can send information to the model continuously.