Hello, I have a problem, my surveys do not run, I can edit them, but cannot see them running. Yesterday everything was working fine, but today the design is not working.
my survey js form is not working the desing.
Answers approved by surveyjs Support
Hi Katherine,
You are required to fix the exact version of SurveyJS libraries to a target version. For instance, the following fixes SurveyJS libraries version to v1.12.29.
HTML<script src="https://unpkg.com/survey-core@1.12.29/survey.core.min.js"></script>
<script src="https://unpkg.com/survey-core@1.12.29/survey.i18n.min.js"></script>
<script src="https://unpkg.com/survey-core@1.12.29/themes/index.min.js"></script>
<script src="https://unpkg.com/survey-js-ui@1.12.29/survey-js-ui.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/survey-core@1.12.29/defaultV2.min.css" />
Should you have any further questions, please let us know.
Hello,
On your first screenshot it looks like the defaultV2.css was not loaded correctly. Would you please share a reproducible demo for research?
Hello Jane, I do not know what happened (or you did), but everything is going well with my page using the @1.12.29 version
Code<link href="https://unpkg.com/survey-core@1.12.29/defaultV2.min.css"
type="text/css"
rel="stylesheet" />
<script src="https://unpkg.com/survey-core@1.12.29/survey.core.min.js"></script>
<script src="https://unpkg.com/survey-core@1.12.29/survey.i18n.min.js"></script>
<script src="https://unpkg.com/survey-core@1.12.29/themes/index.min.js"></script>
<script src="https://unpkg.com/survey-js-ui@1.12.29/survey-js-ui.min.js"></script>
<link rel="stylesheet"
href="https://unpkg.com/survey-core@1.12.29/survey-core.min.css" />
Hi Katherine,
Thank you for the update. I'm happy to hear that the problem is resolved. We’ve been informed about some problems with unpkg being unavailable, and it seems this caused the SurveyJS resources to be temporarily inaccessible.
To avoid such issues in the future, I recommend downloading the SurveyJS packages from NPM and hosting them locally on your servers.
Should you have any further questions, we'll be happy to help.
Thanks
Hello Katherine,
To help us assist you in the most efficient manner, please elaborate on the issue. Share some screenshot illustrating the problem and provide more information.
Thank you
It supposed to be here in the page. it is not working properly. Now, It really loads slowly like 3-5 minutes. sometimes it does not show up.
Clipboard-File-1.png
I just realized that if the form doesn't load right away in the browser or doesn't appear, the problem is fixed by changing the version in the survey-core script and survey-js-ui. it was changed to 2.0.2. They did an update and this affected the rendering of the form on the page. this is the second time this has happened. is there any way to not affect the configuration if they do an update?
I am using vanilla js for programming.