From wiki.ginstr.com
Jump to: navigation, search
Line 3: Line 3:
 
[[Category:Action_Library]]
 
[[Category:Action_Library]]
  
;Description: Used exclusively with [[GnQuestionnaire]] widget to dynamically generate questionnaire  
+
;Description: Used exclusively with <code>[[GnQuestionnaire]]</code> widget to dynamically generate questionnaire  
  
 
;Action returns: void
 
;Action returns: void
Line 30: Line 30:
  
 
====Example====
 
====Example====
<code>+id/questionnaire</code> - [[GnQuestionnaire]] which will display questionnaire<br>
+
<code>+id/questionnaire</code> - GnQuestionnaire which will display questionnaire<br>
<code>@variable/questionnaireConfigSetName</code> - [[DtText]] which contains config set name<br><br>
+
<code>@variable/questionnaireConfigSetName</code> - config set name<br><br>
 
<code>[gn:act_loadQuestionaire]|[+id/questionnaire,@variable/questionnaireConfigSetName]</code>
 
<code>[gn:act_loadQuestionaire]|[+id/questionnaire,@variable/questionnaireConfigSetName]</code>
 
<hr>
 
<hr>

Revision as of 10:36, 15 March 2017

gn:act_loadQuestionnaire

Description
Used exclusively with GnQuestionnaire widget to dynamically generate questionnaire
Action returns
void

Action signatures

Generate questionnaire based on config set name

[gn:act_loadQuestionaire]|[target,source]
Parameter Description
target target where the questionnaire will be displayed
source source from where the config set name will be retrieved

Example

+id/questionnaire - GnQuestionnaire which will display questionnaire
@variable/questionnaireConfigSetName - config set name

[gn:act_loadQuestionaire]|[+id/questionnaire,@variable/questionnaireConfigSetName]