Autofill

With Auto Fill you can to create a field with auto fill suggestions coming from the users and custom object collections in the database.

When you start entering content in the field, all the suggestions that match the value are visible and selectable. The values of the field 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.
  • Collection: the collection in the database you want to retrieve values from. Options:
    • Users: if you select this option, the suggestions are retrieved from the users collection in the database.
    • Custom objects: if you select this option, the suggestions are retrieved from the customs object collection in the database.
    • Dataconnector: if you select this option, the suggestions are retrieved from an external data source (for example DATALINK).
  • Custom object name (only in case of Custom objects): the name of the custom object. For example, if you have a database collection customobjects.customers, the custom object name is customers.
  • Connector (only in case of Dataconnector): here you can specify the connector.
  • Table name (only in case of Dataconnector): here you can specify the name of the table you want to use to retrieve data for auto fill suggestions.
  • Key field: the column name of the field of which the content will be written to the variable.
  • Label field: the column name of the label that will be displayed when you start typing.
  • Required
    • Value must exist: if you select this checkbox, the value must exist in the collection where Auto Fill is linked to. If you leave this checkbox unselected, you can enter a value that does not exist. For example, when administrating customer collections, you can add a new customer directly without having the add the customer to the database first.
  • Examples

    Example of a users database collection:

    fullname email username
    Administrator admin@company.com admin
    Jane Jane@company.com jane
    John John@company.com john
    June June@company.com june
    Jen Jen@company.com jen

    If you configure the form like this:

    Key field: email and Label field: fullname

    The field in KIOSK will retrieve the suggestions from the field fullname and will write the value of the field email to the variable. For example, if you enter e, suggestions Jane, June and Jen are shown (because they all contain e. If you select June, the resulting variable will have value june@company.com.

  • Maximum amount to show: the maximum amount of characters that will be shown.
  • Min length: the minimum length from which the auto fill suggestions will be shown.
  • Delay (ms): the delay before the auto fill suggestions will be shown.
  • Multiple: if you select this checkbox, you can enter multiple items in the Auto Fill field.

Style

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