Text

With Text you can add text. The value of the text will be saved in a variable.

  • Type: the type of the parameter.
  • (variable) key: the name of the variable that will contain the parameter value. The variable will be addressed in the workflow with this name. You can use dot notation if you want to group single variables into a single object. For example: customer.name, customer.address and customer.telephone will result in one variable customer that is an object with three fields name, address and telephone.
  • Label: the label in the KIOSK interface.
  • Help text: the help text that will appear next to the label.
  • Field options:
    • Required?: if you select this checkbox, the field must be filled in. This will be indicated by an asterisk next to the label in KIOSK.
    • Readonly: if you select this checkbox, the field is read only and cannot be filled in.
  • Default: the default value of the field.
  • Text in background: the background text.
  • Pattern: a Regular expressions to force the user to use a specific pattern for the text.
    Note: You can use https://regex101.com as an online regex tester.
    Note: If the KIOSK user uses an expression that doesn't match the pattern, an error is displayed.
  • Pattern Error Message: the error that will be displayed when the text does not correspond to the pattern.

Style

  • Background color: the background color of the field.
  • Font color: the font color of the text in the field.

Form Actions

With Form Actions you can show or hide a field, depending on the value of another specified field.

When
  • Is equal to: here you can specify a value. If the value that is entered in the active field in the form is equal to the value that is specified here, another field is shown or hidden.
Then
  • Field: here you can define the field that must be shown or hidden when the value that is entered in the form is equal to the value that is specified in the parameter Is equal to. Select to select the field you want to show or hide.
  • Action: here you can define the action that will be performed when the value that is entered in the form is equal to the value that is specified in the parameter Is equal to. Possible actions are show or hide.

Simple example

You have a form with two text fields:
  • Label 1
  • Label 2

Label 1 has a configured Form Action:

When
  • Is equal to hide
Then
  • Field id2
  • Action hide

The result is that Label 2 will be hidden in the form when the value of Label 1 is equal to hidden.