Appendix: Creating a Date Question
A Date question accepts a date value in a specified format (e.g. ddMMyy). When the end user selects this field, KnowledgeKube displays a date picker that enables them to find the date they need. Picking a date will automatically fill the field with the chosen date.
Implementation:
- Switch to the Definition tab.
- Select the intended question group.
- Add a question and change its type to Date.
- Use the Question Text field to enter the text you want to appear alongside the question.
- Enter a unique keyword in the Question Keyword field.
- (Optional) If you want to pass the provided response to a variable, select the intended one in the Target Model Variable drop-down menu.
- (Optional) If you want to add a default numeric response that will appear in the question field before the end user has provided their own, tick the Default Response Value check box and enter the default response in the text field.
- (Optional) Tick the Use Model Format Culture check box to match the question's date format with that set for your model.
- (Optional) Use the text field in the Date Time Format section enter a custom date format to use for the question. If you enter anything into this field, it will override the Use Model Format Culture option.
- (Optional) Switch to Further Question Options and change the settings as required.
- Click Save Question.