Question T8609
Visible to All Users

Render Surveys in Survey Creator V2 Style (UI)

created 3 years ago

Hi,

is there a way to render Surveys in the new UI style used by Survey Creator V2 (like when previewing the Survey)? We currently seem to only be able to choose the Styles like in Creator V1 (like bootstrap, darkrose, modern, …)

Thanks and kind regards,
Marc

Answers approved by surveyjs Support

created 3 years ago

Hello,
You will need to add defaultV2 css style:

HTML
<link href="https://unpkg.com/survey-core@1.9.6/defaultV2.min.css" type="text/css" rel="stylesheet"/>

and tell SurveyJS to use it:

JavaScript
Survey     .StylesManager     .applyTheme("defaultV2");

Here is the example.

Thank you,
Andrew
SurveyJS Team

    Other Answers

    created 3 years ago

    Thanks, that did the trick for us :-)