Forms & Surveys · 1 min read
Why the HTML Editor Will Not Save
The check runs while you type in the HTML editor. It ignores letter case. Empty HTML, and HTML with no script, can be saved. If the same problem appears many times, you still see one error.
Before you start
- Use this when Save stays disabled and a red message sits under the editor.
- Ordinary HTML is allowed. So are timers that receive a function, and local storage writes, removals, and clears.
Clear the error
- Open the form, survey, or quiz builder.
- Add an HTML element, or click the one that will not save.
- Click Edit HTML.
- Read the red message under the editor.
- Remove any script that reads cookies.
- Remove
evalandnew Function. - Change
setTimeoutorsetIntervalso the first argument is a function, not a string of code. - Remove
localStorage.getItem. - Click Save.
You should see
Save stays disabled while a blocked pattern remains. After those lines are gone, Save works and the HTML element stays on the form.