Hi Team,
I am using SurveyCreator in my react application.
I want to remove the choices suggestions (Except for none and other) for every question type.
Can you please help me with this?
Thanks
Raahish
Hi Team,
I am using SurveyCreator in my react application.
I want to remove the choices suggestions (Except for none and other) for every question type.
Can you please help me with this?
Thanks
Raahish
Hello Raahish,
You can use the survey.onShowingChoiceItem function to hide this option.
JavaScriptcreator.onSurveyInstanceCreated.add(function(sender, options) {
if(options.reason == "designer") {
// A survey instance for the Creator's design surface
options.survey.onShowingChoiceItem.add(function (sender, options){
if(options.item.id === 'newitem') {
options.visible = false;
}
});
}
});
Example
Let us know if you have further questions.
Thank you for the confirmation. I will consider a possible option and get back to you shortly.
Thanks
Hello,
I created a separate ticket on your behalf: T13316: Choices - Display the 'Add Choice' text instead of 'Item 4'. We placed it in our processing queue and will process it shortly.