Hi
it's possible to have a list of all default function that it can be use in expression?
for example age({question_date}) or sumInArray, or panel.question etc…
There is a docs that explain all?
Thanks
Hi
it's possible to have a list of all default function that it can be use in expression?
for example age({question_date}) or sumInArray, or panel.question etc…
There is a docs that explain all?
Thanks
There are several examples on our website:
https://surveyjs.io/Examples/Library?id=condition-customfunctions
https://surveyjs.io/Examples/Library?id=questiontype-matrixdynamic-totals
https://surveyjs.io/Examples/Library?id=validators-async-expression&platform=jQuery&theme=default
Thank you,
Andrew
SurveyJS Team
[Updated]
Hello Daniele,
You can review a list of built-in expressions available within SurveyJS forms in our documentation: Expressions.
Thank you,
Andrew
SurveyJS Team
Thanks!! is there also a docs that explain the global vars that it can be use in expression?
For example number of pages, numer of question, number of panel etc…
Thanks!
You may write and then registered a custom function.
Inside the custom function you may access to survey object as: this.survey
and as result, using this.survey
and passed parameters you may access to everything you need
Thank you,
Andrew
SurveyJS Team