Forum Discussion
JavaScript to access Storyline quiz/survey values
Make sure you use a custom variable when setting it on a question/quiz/survey. Then you can easily access them.
Another trick i recently found was adding a custom data-attribute instead of variables. The big plus of that is you donot need a mass of variables. Each element can have the same custom attribute with different values.
Thank you Math for coming back to me! Do you know if there's any guidance on using a custom variable? Or adding a custom data-attributes? I've googled these and come up with nothing.
I've discovered I can change variable names associated with fields by going to 'Insert > Reference', but that doesn't seem to work for Radio Buttons or Survey pages (with Radio Buttons). Any more clues you can give me as to how to do what you're suggesting? Thanks again!