Question T2613
Visible to All Users

How to get question objects in custom functions using expression?

created 5 years ago

Hello,
I'm suppose to create custom function to concate Question Title with value in expression. So can you please guide me how to get question object in custom function using expression.

Thanks,
Hiren

Answers approved by surveyjs Support

created 5 years ago

Hello Hiren,
You can get survey as this.survey. To get a question you may pass question name and then get the question by calling: survey.getQuestionByName(yourQuestionName)

Thank you,
Andrew
SurveyJS Team