Difference between revisions of "Category:Setting up external surveys"

From Catglobe Wiki
Jump to: navigation, search
(Setting up external surveys)
(Setting up external surveys)
Line 4: Line 4:
 
[https://wiki.catglobe.com/Category:CGScript CGScript]: Use CGScript to redirect to the external survey, after that 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.
 
[https://wiki.catglobe.com/Category:CGScript CGScript]: Use CGScript to redirect to the external survey, after that 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.
  
<span style="color: rgb(35, 111, 161);">[https://wiki.catglobe.com/SendToUrl sendToUrl]:</span> Redirects 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/SendToUrl SendToUrl]:</span> Redirects 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> Returns the value of a specific parameter in the URL link to the current resource project questionnaire.
+
<span style="color: rgb(35, 111, 161);">[https://wiki.catglobe.com/GetParameter GetParameter]:</span> Returns 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 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/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 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/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 returnFromGoto]: <span style="color: rgb(0, 0, 0);">Go back to the context that call the gotoQuestionnaire or gotoQuestion functions.</span></span>
+
<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>

Revision as of 07:47, 17 October 2022

Setting up external surveys

External link: External provider will provide the URL of the external survey.

CGScript: Use CGScript to redirect to the external survey, after that 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.

SendToUrl: Redirects 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: Returns 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.