Question T2346
Visible to All Users

Hidden property/field

created 6 years ago

Can we create hidden property/field?
If yes kindly share some code

Answers approved by surveyjs Support

created 6 years ago

Hello,

You can hide existing property or create a new hidden one:

JavaScript
Survey .Serializer .findProperty("question", "description").visible = false; Survey .Serializer .addProperty("question", { name: "hiddenProperty", visible: false });

Here is the working sample - https://plnkr.co/edit/qupVlCX5etvKRqee7Qcp?p=preview

Thanks, Serge
SurveyJS Team