JavaScript tab (internet settings)
View image
- Generate Askia's Javascript code: this option causes Askia to automatically generate JavaScript code.
Note: The JavaScript designed by Askia is a collection of objects, functions and methods to manage the questions, responses, and the form navigation. It uses some DHTML features to simplify the user data entry like the management of semi-open responses, the management of sorted responses, and the generation of calendars. Responses should be validated by the scripts and error messages will be displayed to respondents according to the pre-defined properties.
- Run live routings in ajax:
- Validation type: This option controls how response verification is displayed on the client side. In other words, it determines how warning messages (such as informing the respondent he/she entered invalid data) are displayed.
- Validation by alerts: errors will be displayed by pop-up alert boxes:

- Validation in an HTML container (id=validationSummary): specify that errors are to be displayed in an HTML container. You can then define the position of this container. To do so, insert a label (for example, after the question) and enter id="validationSummary" in the
Code in the Cell (<TD>) property.

- On the fly validation: Select this option to have response verification happen as the respondent answers the question in the form. Clear this option to have response verification occur when the respondent clicks the next button.
- Get error messages from questionnaire: Use this option to get error messages from the questionnaire.
- JavaScript live path: Specifies the path for JavaScript files to be used during live projects (e.g. ../Scripts/). If you leave this option empty, it will be filled automatically populated when you test a web survey within askiadesign, with the path-name specified in the setting
Askiaweb scripts path in the program options.
- JavaScript test path: Specifies the path for JavaScript files to be used during testing (for instance C:Program FilesAskiaScripts).
- Skin name: Specifies the skin to be used for responses. The skin determines the appearance of responses (including the appearence of radio buttons and check boxes) on your survey's interviewing screens. You can define skins in the skin designer.