surveyjs / survey-creator

Scalable open-source survey software to generate dynamic JSON-driven forms within your JavaScript application. The form builder features a drag-and-drop UI, CSS Theme Editor, and GUI for conditional logic and form branching.
https://surveyjs.io/open-source
Other
871 stars 365 forks source link

Survey Title in Creator #1571

Open aldwnesx opened 2 years ago

aldwnesx commented 2 years ago

image

How do i disable page title and description on the creator library?

I have tried a few e.g Survey.settings.allowShowEmptyTitleInDesignMode = false; from https://surveyjs.io/Examples/Survey-Creator?id=titleadorner&theme=bootstrap#content-js

but it's still showing.

I am also trying to get the survey title via javascript, to check whether it's empty or now. Is this supported?

tsv2013 commented 2 years ago

What exactly do you want to achieve? To hide survey title completely? Or hide the empty title only? Or to disable survey title editing?

I am also trying to get the survey title via javascript, to check whether it's empty or now. Is this supported? You can get/set the creator.survey.title property

aldwnesx commented 2 years ago

What exactly do you want to achieve? To hide survey title completely? Or hide the empty title only? Or to disable survey title editing?

I am also trying to get the survey title via javascript, to check whether it's empty or now. Is this supported? You can get/set the creator.survey.title property

I am trying to require user to enter a survey title before they can save it