I am trying to use javascript to write a value to embedded data based on the current questions Recoded Values. I know how to do this if the QuestionID is known, but I don't know how to string the code toegether to refer to this.questionId (I'd like to use the same javascript for a large number of questions without modifying it to refer to the specific question IDs).
The functionality I am looking for is essentially "If this.questionId's SelectedChoicesRecode = 1 then set embedded data "c" = 1, else "c" = 0.
Any pointers are appreciated!
G2000
Best answer by TomG
View original