This page https://help.surveygizmo.com/help/how-to-find-ids
gives no clue how to correctly use -[OPTION:10008]:5 in a custom script.
What is the answer? 10008 ? 5 ? “-[OPTION:10008]:5”?
It’s not obvious at all.
@Pking : My apologies for the confusion and frustration! Our documentation did fall short here.
If you’re familiar with our merge code helper that is available throughout elsewhere throughout the Build tab for dynamically merging in the proper merge code with the appropriate ID based on the question, you select you might be expect this dropdown to work similarly. Unfortunately this will not insert the ID at your cursor (though it would be great if it did!) This is basically just a display tool to give you quick access to the IDs you need in your scripts. You’ll still need to key the ID value within your scripting function as necessary.
I update the documentation with the same to help other users like yourself!
Thanks for this feedback!
SurveyGizmo Customer Experience Team
The ‘How to Find IDs’ article just describes how to find the IDs. There are other articles that describe how to actually use the ID numbers (i.e. https://script.surveygizmo.com/help/sgapigetquestionoptionselected).
Most of these articles are listed on the Scripting Resources page – https://script.surveygizmo.com/help