Closed jzju closed 1 month ago
Hello @jzju, Thank you for your inquiry. SurveyJS uses the third-party PEG.js library. You can review supported expression operators at https://github.com/surveyjs/survey-library/blob/390a2c3f61ac0859955acab636e00717895d5cd9/packages/survey-core/src/expressions/grammar.pegjs. We'll consider updating our documentation and adding more information about supported expression operators.
Regarding your specific questions:
=
and ==
can be used to check whether values are equal.anyof
operator.
{question1} anyof ['a', 'b']",
{multiselect.length}
syntax.Drop me a line if you have additional questions.
There are some examples in the docs but where are the complete documentation? E.g. it uses
and
like python but=
for equal instead of regular==
. is there anin
operator like{question} in ['a', 'b']
orlen({multiselect} > 2)
Is this boolean syntax homemade provided by external library?
https://github.com/surveyjs/survey-library/blob/390a2c3f61ac0859955acab636e00717895d5cd9/docs/design-survey-conditional-logic.md?plain=1#L691-L702