Resco JavaScript Bridge: Difference between revisions

Jump to navigation Jump to search
No edit summary
 
Line 1,351: Line 1,351:
Use [[Woodford]] to add offline HTML content to questionnaires. See [[Offline_HTML#Managing_offline_HTML_content|Managing offline HTML content]] for more information.
Use [[Woodford]] to add offline HTML content to questionnaires. See [[Offline_HTML#Managing_offline_HTML_content|Managing offline HTML content]] for more information.


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, click '''[[Questionnaire_Designer#Questionnaire_options|Options]]''' and on the '''Rules''' tab, 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>.
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>.

Navigation menu