Question T2838
Visible to All Users

List of options that is possible to use in expression

created 6 years ago

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

Answers approved by surveyjs Support

created 6 years ago (modified 2 years ago)

[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

    Comments (3)

      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

          It's possible to have a simple example in plunker?