Hi Guys,
I am adding a custom question to the toolbar using:
var dbData = JSON.parse("{"name": "postSecondaryPathToolbox", "iconName": "icon-default", "title": "Postsecondary Path", "category": "Portfolio", "json": { "type": "dropdown", "name" : "postsecondarypath", "title": "What is your plan after high school?", "choices": [ "Undecided", "Four-year college", "Two-year college " ] } }");
this.survey.toolbox.addItem(dbData);
This works fine.
Is there a way to prevent the survey builder user from changing the name and/or all the properties of that question after they add it to the survey in the survey builder? But only that custom question, they should be able to modify all the other questions as normal.
Thanks,
Rich