[Ticket cloned from T12970: Limit complete survey triggers]
Okay waiting for the same.
Also I wanted to ask that how to hide "Any of" operator from the trigger expression operators menu?
[Ticket cloned from T12970: Limit complete survey triggers]
Okay waiting for the same.
Also I wanted to ask that how to hide "Any of" operator from the trigger expression operators menu?
Hello Raahish,
Logic Operators are defined in the Survey Creator's settings.operators array. If you wish to customize operators available for particular question types, you can modify the settings.operators collection and define a list of unsupported questions for each operator.
The Any of operator is available for all questions which inherit from the QuestionSelectBase. The following code removes the Any of operator from a list of available operators for this type of survey questions. Please note that the Any of operator won't be available not only in trigger setup, but in all places where a user can build a logic rule.
JavaScriptdelete SurveyCreator.settings.operators["anyof"];
Please let me know if this option works for you.