Question T8970
Visible to All Users

How to create a start page by default?

created 3 years ago

I want to have an html start page that is created when the user builds a new survey. How do I do it? I also want to make sure it's always the first page of the survey.

Answers approved by surveyjs Support

created 3 years ago

Hello,
You can always set creator.JSON property to any JSON your need, instead of empty survey.
Something like this:

JavaScript
creator.JSON = { firstPageIsStarted: true, pages: [ { "elements": [ { "type": "html", "html": "Please put " } ] }, { "elements": [ { } ] };

Thank you,
Andrew
SurveyJS Team