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.
How to create a start page by default?
Answers approved by surveyjs Support
Hello,
You can always set creator.JSON
property to any JSON your need, instead of empty survey.
Something like this:
JavaScriptcreator.JSON = {
firstPageIsStarted: true,
pages: [
{
"elements": [
{
"type": "html",
"html": "Please put "
}
]
}, {
"elements": [
{
}
]
};
Thank you,
Andrew
SurveyJS Team