Execute JavaScript from rules: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
 
Line 21: Line 21:
# Create a new variable and use the [[Rules_editor#Operations|operation '''ExecuteJS''']].
# Create a new variable and use the [[Rules_editor#Operations|operation '''ExecuteJS''']].


[[File:Sample executejs rule.png|600px]]
[[File:Sample executejs rule.png|alt=Execute JavaScript from rules: Add function call to form rules|600px]]


== Additional information ==
== Additional information ==
Line 40: Line 40:
* In the first argument, simply select the value "IFrame". (Questionnaires don't have multiple tabs for selecting.)
* In the first argument, simply select the value "IFrame". (Questionnaires don't have multiple tabs for selecting.)


[[File:Execute javascript in questionnaire rules.png|600px]]
[[File:Execute javascript in questionnaire rules.png|alt=Execute JavaScript from rules: Execute javascript in questionnaire rules. example|600px]]


See also [[Resco_JavaScript_Bridge#Questionnaire|general instructions about JavaScript in questionnaires]].
See also [[Resco_JavaScript_Bridge#Questionnaire|general instructions about JavaScript in questionnaires]].
1,214

edits

Navigation menu