Expertsystemen

 

Input types

In xxllnc Expertsystemen, each question can be answered in different ways. For example, users may enter some text, pick a number or select a date. Any one of these options is called an ‘input type’.

Whenever you create a new question, you’ll have several options (see picture below). The question type determines how the question is presented and what input types are possible.

question screen with types highlighted
question screen with types highlighted

When you select your question type, you can select the input type. This is highlighted in the picture below. There are lots of input types, which are all discussed in the next sections. You can use this sections as references if you ever need any specific type or if you just want to know what options there are.

NOTE that when a type is ‘required’, it means that the user cannot continue without filling in the required field.

question screen with input types highlighted
question screen with input types highlighted

Last but not least, if you are looking to create your own input types, please visit custom input types.

T Text

Choose the Text type to let the user give a short, single-line, textual answer. You could, for example, ask for someone’s name.

Input types

Email address
When selected, this type checks whether or not an email address is filled in.
Postcode
When selected, it only allows user input in the form of a Dutch postal code.
Standard String
Standard text input. Limited to 50 characters.
Telephone number
Allows a user input consisting of 10 digits.
Text
Standard text input. Limited to 255 characters.

text fragment icon Long text

Long text is comparable to the type ‘Text’. However, it allows the user to give a lengthier, multi line, answer. Use long text to give the user the opportunity to give an explanation.

Input types

Memo
The standard type. No character limit.

Number

Use this for numeric user input, such as questions related to money, weight, amounts. If you want to allow the user to use decimals, choose ‘Number Precision 1’ or ‘Number Precision 2’.

Input types

Number
Enter a number without decimals.
Number Precision 1
Fill in a number with one decimal.
Number Precision 2
Fill in a number with two decimals.

Checkbox

A checkbox gives the user the possibility to ‘check’ something. If you want to known whether or not the box is checked, ‘1’ means it is checked while ‘0’ means it’s not. This can be useful in conditions. Furthermore, if you want to use multiple check boxes, using a dataset is advised.

Input types

On / Off
A regular checkbox without conditions.

This type will present the user with a drop-down list from which they can pick on of several options. This is especially useful for larger lists. You can also check the option ‘Free text’ whenever you pick a drop-down list. This allows users to enter free text instead of picking one of the options in the list.

Types

Gender
Answer options are ‘Male’ or ‘Female’.
Yes / No
Allows the user to choose between ‘Yes’ and ‘No’.
Yes / No / I don’t know
Allows the user to choose between ‘Yes’, ‘No’ and ‘Don’t know’.
List
An empty type. You can use it to create your own.
CountriesOfTheWorld_NotNull
Let’s the user choose from all countries of the world. It is required, so the user has to pick one.

List box

A list box will present the user with a list of options to choose from. Compared to the drop-down list, a list box is always shown completely.

Types

Gender
Answer options are ‘Male’ or ‘Female’.
Yes / No
Allows the user to choose between ‘Yes’ and ‘No’.
Yes / No / I don’t know
Allows the user to choose between ‘Yes’, ‘No’ and ‘Don’t know’.
List
An empty type. You can use it to create your own.
CountriesOfTheWorld_NotNull
Let’s the user choose from all countries of the world. It is required, so the user has to pick one.

Radio group

A Radio group will present the user with options that they can choose from. Characteristic for a Radio group is that no more than one option can be chosen.

Types

Gender
Answer options are ‘Male’ or ‘Female’.
Yes / No
Allows the user to choose between ‘Yes’ and ‘No’.
Yes / No / I don’t know
Allows the user to choose between ‘Yes’, ‘No’ and ‘Don’t know’.
List
An empty type. You can use it to create your own.
CountriesOfTheWorld_NotNull
Let’s the user choose from all countries of the world. It is required, so the user has to pick one.

Date

This allows the user to fill in a date.

Input types

Date
Allows the user to fill in a date.