AskiaDesign 6.5 (Not yet released)
Table of contents:
- 6.5.0
- Added Instructions and Comments fields for questions
- New AskiaScript properties on the Question object
- Added Instructions and Comments fields in Translator
- Added Exclude from Speed median calculation options on questions
- Added Collected in field on questions
- Added new askiascript keyword QuotaTreeToDo()
- Create a survey to provide the wizard for interactive surveys
6.5.0
Instructions and Comments fields
- On question (GUI)
We have added two new fields - both Instructions and Comments fields are available on questions:
We also added two new options/check boxes in the Internet Settings, to control the visibility of the Instructions and Comments on the page, globally for the survey:
We also made sure that AskiaScript cannot override the settings - i.e. to show or hide the instructions or the comments.
For that we added .ShowInstructions and .ShowComments properties on the Interview object.
In order to do that you can use the following commands when running an AskiaScript routing:
Interview.ShowInstructions = (ShowCI Has 1)
Interview.ShowComments = (ShowCI Has 2)
- On question object (AskiaScript)
We added two new properties on the Question object:
- Comments - Returns the comments of the question.
- Instructions - Returns the instructions of the question.
- In translator
We added two new rows for each question, Instructions and Comments on the data grid of Translator:
We also added two new options in the export string - Exclude instructions and Exclude comments:
Exclude from Speed median
We added a new option "Exclude from speed detection" on each variable:
Collected in field
We added a new option "Collected in field" on each questions. We need sometimes to add data to the survey after field. This data could be very big and would hamper collection. So it’s useful to indicate that a number of questions are collected outside of Webprod / Interviewer. All sub question are also considered as stored outside.
QuotaTreeToDo()
We added a new askiascript keyword QuotaTreeToDo(). Sometimes you might want to query a response in the quota tree. Rather than using the algorithm which will find the matching responses and pick the max, you might want to pinpoint the exact value in the tree.
QuotaTreeToDo(“question1:response1;question2:response2”)
- If the hierarchy of questions and responses does not exist, the return value is DK.
- If you do not specify the response QuotaTreeToDo(“question1”), the current response for that question is used.
- If you do not specify the response QuotaTreeToDo(“question3”), and there is no current response for that question, then it returns DK.
- For multiple closed question, you should always target a specific row.
- It works also with numeric question.
- For numeric, we don’t target the range but the value so if a range between 1 (included) and 10 (not included) We can write QuotaTreeToDo(“question:1“) or QuotaTreeToDo(“question:1.55“) or QuotaTreeToDo(“question:9.99“) to retrieve the number of to do for that range.
- For single or multiple closed question, we use the index value for the response and not the entrycodes in the string of the QuotaTreeToDo()
Create a survey to provide the wizard for interactive surveys
Interactive surveys are one of the most powerful features of Askia but it’s not easy to show the power of them because we do not have a web based way of entering the responses.
This means demoing interactive surveys (usually by copy and pasting portion of a survey in DOF) is a very underwhelming experience.
So we have added a way that you could customise the way you define a wizard by making it an askia survey.
1 - Open an interactive survey (one which has definitions for {{text}} or [[Responses]]) and click “Create Wizard”
2 - You can then edit the survey, merge question on the same screen, add validation messages with routings
3 - The survey will now appear in your resources
You can re-edit-it by right clicking open
4 - If your survey had a wizard, you can now run that wizard from the command line
Design.exe "C:\MyTemplates\ProductTestWizard.qex" /runwizard /saveas:"C:\Qes\NewSurvey.qex"
If the survey does not have a wizard, a default one is created. If the wizard has no activity for 2 minutes, Design offers to abandon the process.
One you have filled all the questions of the wizard, a new survey (in our case called NewSurvey.qex) is created and the system informs you that you can close your browser.