We've released Groups, a new feature that enables us to connect community members of similar industries and interests in a shared, private space. You can check out all of the details here, including information about who can join, how to join, and what Groups are currently offered. Please leave your feedback through this Community Groups Feedback Survey.
setChoiceValueByVariableName: what to use as variableName parameter?
I wish to use the setChoiceValueByVariableName API function with a question of type Text Entry - Form variant.
This function should be called as
setChoiceValueByVariableName(variableName, [subId], value) where
variableName is a string described as "The variable name of the choice(s) being set" in the documentation.
In the SE engine, I used to replace
variableName with the text that appears on the left of the text field in the form.
With the new JFE engine, these lines of code no longer work (no error message, the text fields are simply no longer populated).
Does anyone know what the variableName parameter should contain when using this API function?
this.setChoiceValueByVariableName("byVariableName", "Modified answer"); // Does not work this.setChoiceValue(2, "Modified answer"); // Works