Appendix: Question Types

There are more than a dozen varieties of question you can use to build a KnowledgeKube application, with each one defined by its Type. This affects everything from the format of the data collected by a question to the way it appears to the end user. Some types of question do not require a response from the end user, and are in fact entirely hidden from view, gathering and processing data behind the scenes.

The process of assigning a type to a question is described in Creating a Question. The following list will introduce you to the question types available in KnowledgeKube, and describe why you might want to use them:

Question Type Description Further Reading
Button Adds a clickable button to your application. You can dictate what happens when the button is clicked by attaching an expression to it. Implementing a Button
Calendar Creates an calendar to your application. This can be a read-only view, displaying a number of events alongside relevant information, but it can also be interactive, enabling users to create their own appointments. Calendar Control
Check Box This will create a single interactive check box inside your application. The check box’s label is determined by its Question Text, and the ticked and unticked states of the box are represented by a pair of non-editable responses labelled True and False. You can attach attributes to these fixed responses the same as you can with any other type of response. Appendix: Creating a Check Box Question
Content Block This acts as an anchor for dynamic elements such as images, hyperlinks, bulleted lists, and content accessed from the Content Delivery System tool. Embedding HTML Content in a Question Group
Currency Similar to the Number type, this question type provides a text box that will only accept a numerical response, and can be assigned a default value. However, unlike the other numerical question type, currency questions permit responses containing a decimal place. Appendix: Creating a Number or Currency Question
Data Source Grid Data source grids are tables that contain information from a data source. Grids are customisable and can also include interactive elements, such as buttons. Implementing a Data Grid
Date Accepts a date value in a format (e.g. ddMMyy) specified by the application administrator. When the end user selects this field, KnowledgeKube displays a date picker that allows them to find the date they need. Picking a date will automatically fill the field with the chosen date, properly formatted. Appendix: Creating a Date Question
Email Address Questions of this type will only accept a valid e-mail address as a response. Invalid responses will cause a validation message to appear, preventing the end user from proceeding. Appendix: Creating an Email Address Question
File Uploader Adds an interface to your model that lets users upload one or more local files to support their submission. Creating a File Uploader

Form Expression

Form Load Expression

These types of question do not appear to the end user, but rather cause custom calculations and other actions to occur behind the scenes of your application. Different types of expression will trigger under different circumstances. Implementing an Expression
Free Text The end user is free to type any alphanumeric value - including letters, numbers and certain symbols - into this field. Free Text questions are useful when you don’t need a specific format for the answer, such as when you ask a user their name. Appendix: Creating a Free Text Question

Full Text Search

Full Text Search Results

These two types of questionnaire object must be used together. The Full Text Search provides a search box to the end user. When connected to a database table, this search box allows the user to perform a search on that table. The results of the search are then displayed in the associated Full Text Search Results object. Using Questions to Perform a Full Text Search
Gantt A type of chart that enables you to add, manage, and track tasks using a graphical interface. The Gantt board displays each task's estimated required time and the current progress. Gantt Control
Kanban A type of chart that enables you to track the progress of tasks depending on their current status. Tasks are represented as Cards, which can be moved between columns that represent different stages of a project. Kanban Control
Memo/Multi-line Free Text An expanded version of the Free Text question type. As the name suggests, this question type provides several lines for the end user to fill with text. This is useful for collecting verbose information such as user feedback. Appendix: Creating a Free Text Question
Multiple Choice This question type offers the end user a pre-set list of potential Responses, which can either be added manually or provided using a Data Source. Multiple choice questions are useful for restricting responses in accordance with statistical analysis, and for avoiding validation errors that can occur when users have to manually type out common and potentially complex answers. Fixed Responses
Multiple Filtered Choice Similar to a standard multiple choice question, this type of question is assigned a list of potential responses. Rather than showing the end user the full list of responses, the question instead asks them to type a partial response. If the text entered by the end user matches any of the responses attached to the question, these matching responses will appear as a list underneath the question. If the end user clicks one of the returned responses, it will auto-complete the question using that response. Fixed Responses
Narrative Instead of requesting a response from the end user, this question type presents them with a read-only block of bold, heading-style text. This can be useful if you want to add headings or informative text to visually separate content into easily-readable segments within a single application page. Appendix: Creating a Narrative Question
Natural Language Input

Natural Language Results

These two types of questionnaire object must be used together. The Input renders a text field and button used to search the contents of one of more data sources using Natural Language Processing (NLP), which are returned in a grid rendered by the Results object. Natural Language Processing
Navigation Button A special type of button designed specifically to help you build a navigation interface for your application. Unlike regular buttons, navigation buttons automatically appear at the top and the bottom of any form they are added to. They can also be added to a Progress Indicator. Creating a Means of Navigation
Not Set A new question will be set as this default question Type, until one has been assigned to it.  
Number Provides a text box for the end user to fill in. This differs from the Free Text question type in two ways: firstly, the user's response must be a 32-bit integer - a whole number between –2147483648 and 2147483647; secondly, you can assign this type of question a default numeric response that will appear in the question field before the end user has provided their own. Appendix: Creating a Number or Currency Question
Picture Renders an image in-line with group content. This image is based on a reference made by an attribute, containing either a valid file URL or a base64 binary string. Implementing a Picture
Place Holder Used to 'nest' a second question group, causing the second group to appear inside the group containing the place holder. This lets you re-use application content as often as required. Implementing a Place Holder
Radio Button Group Like a standard multiple choice question, this question type offers the end user a pre-set list of potential Responses, which can either be added manually or provided using a Data Source. Fixed Responses
Read Only Text Renders an application field with a similar appearance to that of a Free Text question, but instead of allowing the end user to type a value, the field displays one to them. The value displayed can be determined by applying a Fixed Response, or gathered from an attached attribute, which derives its value from either an expression, a question or a model variable. Appendix: Creating a Read Only Text Question
Sunburst Renders a multi-level chart that displays hierarchical data in a circle with multiple layers. Sunburst Control
Time Similar to the Date question type, this field accepts a valid time in a format specified by the application administrator (e.g. HH:mm:ss. Unlike Date, there is no picker interface provided, so the end user must type the time in manually. Appendix: Creating a Time Question
Validator When paired with a validation expression, if the expression evaluates to True this type of content will display a custom error message and prevent the end user from proceeding to the next part of the application. This lets you meaningfully inform the end user if they have made a mistake, helping ensure the correct information is provided. Implementing a Validator
Yes/No Similar to the Check Box question, this question type provides the end user with two options. These take the form of a pair of radio buttons, which can have attributes assigned to them if required. Appendix: Creating a Yes/No Question