| 12345678910111213141516171819 |
- SurveyCreator.localization.currentLocale = "ge";
- const creatorOptions = {
- showLogicTab: true,
- isAutoSave: true
- };
- const creator = new SurveyCreator.SurveyCreator(creatorOptions);
- creator.locale = "ge";
- document.addEventListener("DOMContentLoaded", function() {
- creator.render("surveyCreator");
- });
- creator.saveSurveyFunc = (saveNo, callback) => {
- // If you use localStorage:
- window.localStorage.setItem("survey-json", creator.text);
- callback(saveNo, true);
- };
|