Difference between revisions of "Category:Setting up external surveys"
(→Setting up external surveys) |
(→Setting up external surveys) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Setting up external surveys == | == Setting up external surveys == | ||
− | <span style="color: rgb(35, 111, 161);">External link:</span> | + | <span style="color: rgb(35, 111, 161);">External link:</span> External provider will provide the URL of the external survey. |
− | <span style="color: rgb(35, 111, 161);"> | + | <span style="color: rgb(35, 111, 161);">RPQ Id</span>: Give external provider the ID of current resource project questionnaire URL to use and send the user back. |
+ | [https://wiki.catglobe.com/Category:CGScript CGScript]: Use CGScript to redirect to the external survey, after successful interview then send the user back to the current resource project questionnaire. You can also add and return URL parameters which you can process in the "next" questions CGScript. By using these following [https://wiki.catglobe.com/Category:Questionnaire_Functions questionnaire functions]: | ||
+ | <span style="color: rgb(35, 111, 161);"></span> | ||
+ | <span style="color: rgb(35, 111, 161);"></span> | ||
+ | |||
+ | <span style="color: rgb(35, 111, 161);">'''• '''</span>[https://wiki.catglobe.com/SendToUrl SendToUrl]: Redirect to the URL of the external survey. This function requires the RPQ context. When using, it stores the current state of the QAS as being "at that URL", so visiting the QAS again will go to same URL. | ||
+ | |||
+ | <span style="color: rgb(35, 111, 161);">'''• '''[https://wiki.catglobe.com/GetParameter GetParameter]:</span> Return the value of a specific parameter in the URL link to the current resource project questionnaire. | ||
<span style="color: #236fa1;"><span style="color: #000000;"></span></span>There is also the variant of setting up a external survey that consists of multiple actual surveys on your own site: | <span style="color: #236fa1;"><span style="color: #000000;"></span></span>There is also the variant of setting up a external survey that consists of multiple actual surveys on your own site: | ||
− | <span style="color: rgb(35, 111, 161);">[https://wiki.catglobe.com/GotoQuestion | + | <span style="color: rgb(35, 111, 161);">'''• '''[https://wiki.catglobe.com/GotoQuestion GotoQuestion]: <span style="color: rgb(0, 0, 0);">Go to a specific question in the answering questionnaire or in another questionnaire. </span><span style="color: rgb(0, 0, 0);">In the case of go to a specific question in another questionnaire. The current respondent must have the newest uncompleted QAS in that questionnaire.</span></span> |
− | <span style="color: rgb(35, 111, 161);">[https://wiki.catglobe.com/GotoQuestionnaire | + | <span style="color: rgb(35, 111, 161);">'''• '''[https://wiki.catglobe.com/GotoQuestionnaire GotoQuestionnaire]: <span style="color: rgb(0, 0, 0);">Go to the newest uncompleted QAS of another questionnaire. This newest uncompleted QAS is also belong to the current respondent.</span></span> |
− | <span style="color: rgb(35, 111, 161);">[https://wiki.catglobe.com/ReturnFromGoto | + | <span style="color: rgb(35, 111, 161);">'''• '''[https://wiki.catglobe.com/ReturnFromGoto ReturnFromGoto]: <span style="color: rgb(0, 0, 0);">Go back to the context that call the gotoQuestionnaire or gotoQuestion functions.</span></span> |
Latest revision as of 09:14, 17 October 2022
Setting up external surveys
External link: External provider will provide the URL of the external survey.
RPQ Id: Give external provider the ID of current resource project questionnaire URL to use and send the user back.
CGScript: Use CGScript to redirect to the external survey, after successful interview then send the user back to the current resource project questionnaire. You can also add and return URL parameters which you can process in the "next" questions CGScript. By using these following questionnaire functions:
• SendToUrl: Redirect to the URL of the external survey. This function requires the RPQ context. When using, it stores the current state of the QAS as being "at that URL", so visiting the QAS again will go to same URL.
• GetParameter: Return the value of a specific parameter in the URL link to the current resource project questionnaire.
There is also the variant of setting up a external survey that consists of multiple actual surveys on your own site:
• GotoQuestion: Go to a specific question in the answering questionnaire or in another questionnaire. In the case of go to a specific question in another questionnaire. The current respondent must have the newest uncompleted QAS in that questionnaire.
• GotoQuestionnaire: Go to the newest uncompleted QAS of another questionnaire. This newest uncompleted QAS is also belong to the current respondent.
• ReturnFromGoto: Go back to the context that call the gotoQuestionnaire or gotoQuestion functions.
Subcategories
This category has the following 2 subcategories, out of 2 total.
S
Pages in category "Setting up external surveys"
This category contains only the following page.