9,310
edits
No edit summary |
(→Questionnaire: Script Path default value) |
||
Line 1,336: | Line 1,336: | ||
Use [[Questionnaire Designer]] to assign files to questionnaires. Edit a questionnaire template, select the top-level element of the questionnaire, and on the '''Properties''' pane, link to the file in the property '''Script Path'''. For offline files, use the <code>file://</code> prefix, for example: <code>file://test_questionnaire.html</code>. | Use [[Questionnaire Designer]] to assign files to questionnaires. Edit a questionnaire template, select the top-level element of the questionnaire, and on the '''Properties''' pane, link to the file in the property '''Script Path'''. For offline files, use the <code>file://</code> prefix, for example: <code>file://test_questionnaire.html</code>. | ||
If you don't specify the '''Script Path''', the app will try to search for an HTML file in the following path: <code>file://Questionnaire/{name of the questionnaire}.html</code>. | |||
=== How to write scripts for the questionnaire by using JSBridge API === | === How to write scripts for the questionnaire by using JSBridge API === |