Field

This section describes AskiaScript version 1, which has been superseded by AskiaScript 2.0.

 

AgentName

Retrieves the name of the interviewing Agent during AskiaVoice fieldwork.

To store it in an open-ended question, use the following syntax:

AgentName

To display it in a question's long caption or response caption, use the following syntax:

??AgentName??

 

Note: it is possible to store the name of the agent in an open function.

Browser

Retrieves the name of the Web browser during AskiaWeb fieldwork.

Use the following syntax:

Browser

CallID

Retrieves the current interview's Lister field's Call ID.

This function is used on its own, for example:

CallId

Note: This function returns a Call ID only during AskiaVoice and/or AskiaFace fieldwork. When used in AskiaWeb, or tested in AskiaDesign, the function will return the default value 0.

CcaCallCount

Retrieves the number of calls made for the Task running this *.QES file in AskiaVoice.

Use the following syntax:

ccaCallCount

Note: You can only use this keyword with the import functionality, Lister field or Internet Parameter, and put this keyword in the text field.

CcaLastCall

Retrieves the number of the last call made for the Task running this *.QES file in AskiaVoice.

Use the following syntax:

ccaLastCall

Note: You can only use this keyword with the import functionality, Lister field or Internet Parameter, and put this keyword in the text field.

IntvwId

Retrieves the numerical ID of the current interview during AskiaWeb fieldwork.

This function will return the number that is suffixed to the standard "Intvw" prefix of an Intvw file. This function is used on its own, for example:

IntvwId

if AskiaWeb created Intvw123 to stored the current interview’s data, the function will return 123.

Note: This function only returns the current interview ID during AskiaWeb fieldwork. When used in AskiaVoice, AskiaFace, or when tested in AskiaDesign, the function will return the default value of -1.

IPAddress

Retrieves the IP Address of interviewers during AskiaWeb fieldwork.

To do so, use the following syntax:

IPAddress

Mode

Retrieves the collection's mode (0=Web, 1=CATI, 2=CAPI).

Password

Returns a password in the form of a string of 16 characters, which we refer to as a Key16, and which provides a secure way for the respondent to return to a questionnaire and complete their interview.

This function is used on its own. For example, during data-entry, this function will return the current interview’s Key16:

Password

will return: QWERTYQWERTYQWER.

 

Note: This function is restricted to AskiaWeb projects.

 

Create your own Knowledge Base