Hello,
I'm wondering if there's a method or recommendation for incorporating the current question into the expression builder. I'm dealing with a scenario involving composite questions, where I need to enable certain parts based on others. While typing the expression manually achieves the desired outcome, I prefer utilizing the expression builder (as I refer to it). Could you offer any guidance or assistance in this regard?
Incorporating the current question into the expression builder
Answers approved by surveyjs Support
Hello Belal,
Thank you for reaching out. If you wish to create a Boolean property with an expression dialog, set the property's type
to "condition". Please use this property type for Boolean expressions similar to visibleIf
or enableIf
settings. A property grid will display a multi-line text input with an optional dialog window.
Let us know if you have any further questions.
Thanks
Hello Belal,
I'm sorry. Are you talking about creating expressions inside the composite component?
You need to use "{composite.NA} = true" for expression inside the component.
Thank you,
Andrew
SurveyJS Team
I know that I need to use "{composite.NA} = true" and my request IS how to construct "{composite.NA} = true" using expression dialog and not type "{composite.NA} = true" manually
Never mind
Thank you
Hello Belal,
Got it. Unfortunately we don't allow to do it and I tried to explain the reason in my previous reply.
Thank you,
Andrew
SurveyJS Team