Scroll

What’s New in Design 5.5.3

What’s New in Design 5.5.3

Follow
Summary This article lists the new features of Design version 5.5
Applies to askiadesign
Written for  All
Keywords 5.5 ; design;

 

Table of content:

Non selectable response, response hierarchy, headers

We have added the possibility of defining a hierarchy of responses (right now only 2 levels) and to indicate that a response is a header - in other words that it's not selectable.

ResponseHeaders.png

Thanks to this, you can easily define rotations per group - and indicate if you want the headers to move but not the sub-levels (see BMW and Mercedes) or if everything can move within it (see Renault).

We have also added a property in AskiaScript to indicate if a response is a header or not:

 Response.IsHeader -> boolean

Question.AvailableResponses does not return the header responses if the ADC is old or does not have the setting manageHeader to true in the questions constraints in the config.xml.

So it means the functionality is available with the adcs version 4.

We also added AskiaScript keywords to manage grouped responses and headers:

  • .Roots - new property on the responses object which returns only the root list of responses/items so level 1
  • .Children - new property on the response object which returns the list of child responses for a given response
  • .Parent - new property on the response object which returns the parent response for a given response.

Create links on "level 1" responses

We have added the possibility to indicate that a link only makes level 1 responses "available". If the responses are headers (eg non selectable), the system transforms them into normal responses in the linked question:

Level1Link.png

So if you link to a question like this one and select the highlighted checkbox,

ResponsesWithHierarchy.png

You will get a response with the following responses BMW, Mercedez, Renault, Aston Martin.

Simplified Semi-opens

SemiOpen.png

We have fields in the database associated to modalities which allows us to have automated semi-opens:

We added a combo box in the list of responses for a semi-open that once set (No, Yes in the Open column) would create an open question below and indented to the closed question. For a loop, it's created after as you do not want the open-eneded to be repeated.

An implicit (not visible) routing is created for the questions accordingly. The open-ended question is not visible therefore its screen is not generated by default. You can change the type of the open-ended question (make it numeric or date) and make it mandatory or not.

If you use links, then a text substitution happens for subsequent questions. BUT if the semi-open response is not selected in the first question, these responses are not available for subsequent questions (even if all or non selected type of links).

The askiascript: we have a property on the response object to know if it’s a semi open response (called .IsOpen boolean) and a property which return a question object (.OpenQuestion). Thanks to these we can access to all the properties and methods of the related question so we can retrieve the value too to use it later, the inputValue etc... to use it on ADCs...

It's important that an ADC indicates if it can support semi-opens or the user would be stuck on the source question if a response is expected. So we added a question constraint to the ADC config.xml: manageSemiOpen as a boolean

So it means the functionality is available with the adcs version 4.

New routing Custom AJAX response

We added a new routing Custom AJAX response This routing have a textbox where we define the desire returned response value

{
    "action"   : "custom",
    "response" : HERE THE CONTENT OF THE TEXTBOX
}

Like that we can build the format of the response

It works like Ajax events for live routings so action custom and a response where we include the content of the textbox of the routing.

You should tick during for this routing else nothing happen.

Save a test interview and reopen it

OpenSaveInterview.png

We can now save a test interview and reopen it even if design was closed. We have added the two buttons to load and save an interview in XML - this would be useful to also understand why a real interviews was not running as forecasted.

Interview.SetPosition()

We have added Interview.SetPosition() method in the AskiaScript for the run an AskiaScript routing. It redirects the respondent to the specified question. This method differs from GoTo, as it will preserve all answers.

Userdata field in questions

We have had a field called "Userdata" in the database for which we have never provided an interface. We have now! First to enable the interface, go into the options and select yes for whow user data:

UserDataSettings.png

Then in your question, loop, chapter pages a new field will be available:

UserData.png

You can enter any string (or JSON) It's available in the Askia Script by calling:

CurrentQuestion.UserData

Add tag en masse for questions or responses

We have allowed the user to set a tag to lots of questions (or responses) in one go:

QuestionTag.png

ResponseTag.png

 

Have more questions? Submit a request

Comments