On this page
What this issue is
A multi-step form or quiz splits questions over several screens. Visitors expect two things: the on-screen Back button returns to the previous step with answers still filled in, and the browser Back button does the same. This issue is when either one wipes answers, or throws the visitor out of the form altogether.
It usually has one of three causes. The steps are all one page and the form never adds history entries, so browser Back leaves the page. Each step is a separate page load and the previous page is rebuilt empty. Or a script re-renders the form from scratch and forgets what was typed.
Why it costs you leads or sales
People press Back to fix a mistake or check a choice. If they find empty fields, they must retype everything. Many will not. If browser Back drops them on the previous website page, they have to find the form again and start over. Either way you lose a lead who was already part way through.
It is worse on mobile, where the hardware or swipe Back gesture is the main way to move around, and on long quizzes where a lot of effort is lost at once.
Example: illustrative numbers only. Of 100 visitors who press Back mid-form, more finish when their answers are kept.
- Step 1Visitor enters name and email
- Step 2Visitor answers a question
- Press BackStep 1 reloads empty or the page is left
- ResubmitVisitor gives up
- LeadNever reaches your CRM
The visitor goes back to correct step 1 and finds it empty.
How to check if your site has it
This takes five minutes by hand. Use a private window so saved form data does not interfere.
Fill in steps 1 and 2
Enter realistic answers, including text fields, radio buttons, dropdowns and checkboxes.
Click the form's own Back button
Check every earlier answer is still filled in and selected.
Go forward, then press the browser Back button
Note whether you land on the previous step or leave the form. Check the answers again.
Repeat on a phone
Use the swipe or system Back gesture. Safari and Chrome handle restored pages differently.
Go back several steps, change an answer and continue
Confirm the changed answer is the one submitted, not the old one.
How to fix it
The general fix has two parts. First, store answers as they are entered so they can be restored. Second, give each step a history entry so browser Back moves between steps. How you do it depends on what builds your form.
Check your form plugin's multi-step settings
In plugins such as Gravity Forms, Fluent Forms or WPForms, look for options like saving progress, 'Save and Continue' or previous-button behaviour. Enable them where they exist.
Update the plugin and test with caching off
Page caching or optimisation plugins can serve stale step markup. Exclude the form page from cache and retest.
Contact the plugin vendor if it still fails
If Back still clears answers with default settings, it is a plugin behaviour. Report it with your test steps.
Prefer one page with show/hide steps
If you built steps as separate pages, answers are lost on each page load. Move to one page with steps shown and hidden, so inputs stay in the page.
Add a small script for history
Add the custom code below in Project Settings > Custom code or on the page, adapted to your step elements.
Use the built-in multi-step form element
In the form or survey builder, use the standard steps and Back button rather than separate funnel pages for each question.
Test the published link
Test the live URL, not just the builder preview, since browser Back behaves differently in an embedded frame.
Use a Wix multi-step form
Wix Forms offers multi-step layouts with a Back button. Use it instead of chaining pages.
Test on the published site
Check the live site, as the editor preview does not behave like a real visit.
Save answers on every input
Write values to sessionStorage on change events and restore them when a step is shown.
Push a history entry per step
Use history.pushState when moving forward and listen for popstate to show the previous step. See the code below.
const form = document.querySelector('#quiz-form');
const steps = [...form.querySelectorAll('[data-step]')];
const KEY = 'quiz-answers';
function save() {
const data = {};
new FormData(form).forEach((v, k) => { data[k] = v; });
sessionStorage.setItem(KEY, JSON.stringify(data));
}
function restore() {
const data = JSON.parse(sessionStorage.getItem(KEY) || '{}');
Object.entries(data).forEach(([name, value]) => {
const fields = form.querySelectorAll('[name="' + name + '"]');
fields.forEach((f) => {
if (f.type === 'radio' || f.type === 'checkbox') f.checked = (f.value === value);
else f.value = value;
});
});
}
function show(i) {
steps.forEach((s, n) => { s.hidden = n !== i; });
}
form.addEventListener('input', save);
form.addEventListener('change', save);
function goTo(i) {
show(i);
history.pushState({ step: i }, '', '#step-' + (i + 1));
}
window.addEventListener('popstate', (e) => {
show(e.state && typeof e.state.step === 'number' ? e.state.step : 0);
});
restore();
history.replaceState({ step: 0 }, '', '#step-1');
show(0);
// Call goTo(n) from your Next button handlers.Before
- Browser Back leaves the form page
- Earlier fields come back empty
- Visitor must restart from step 1
After
- Browser Back moves one step
- Earlier answers are restored
- Visitor can edit and continue
How to confirm it's fixed
- The form's Back button keeps every earlier answer, including radios, checkboxes and dropdowns
- Browser Back moves one step, not out of the form
- Swipe Back on a phone behaves the same way
- Changing an earlier answer and continuing submits the new value
- A completed submission still reaches your inbox and CRM with all answers
- Stored answers are cleared after submit
How to prevent it happening again
Add back navigation to your release checklist for any change to the form, theme, plugin or caching setup. Re-run the five-minute manual test after every update. Keep a short written test script so anyone on the team can repeat it, and test on at least one iPhone and one Android phone, since they restore pages differently.
How FunnelGuard handles this
FunnelGuard does not check this yet. Back navigation is not tested today, though it is a possible future check.
What FunnelGuard does do is run your real form journey on a schedule, from the EU or the US, and check each forward step, the tracking hits sent to platforms such as GA4, Google Ads and Meta, and whether the test lead reaches your inbox and CRM. If a step breaks after a form update, you get one alert with a screenshot and a likely cause after a second-region re-check. That tells you the forward path works, but not that Back keeps answers.
For now, watch for this issue manually with the test above after each change, and look in session recordings or support messages for visitors who restart forms. The Free plan covers 1 site and 2 journeys with daily checks and no card, and a free read-only website audit is available.
Questions people ask
Why does my multi-step form lose answers when I press Back?
Usually the form keeps answers only in the page's memory, and Back reloads or leaves the page. If steps are separate pages, the earlier page is rebuilt empty. Saving answers to session storage or the server and restoring them fixes it.
How do I make the browser Back button go to the previous step of a form?
Add a history entry for each step with history.pushState when the visitor moves forward, and listen for the popstate event to show the earlier step. Each step then behaves like its own page without a reload.
Why does the browser Back button leave my quiz instead of going to the previous question?
All questions probably live on one URL with no history entries, so the browser sees only one page. Push a history state for each question, or use a URL hash like #step-2, so Back moves between questions.
Should I store form answers in sessionStorage or on the server?
Session storage is quick and works for non-sensitive answers within one tab visit. Use the server if you need answers to survive across devices or tabs, or for partial lead capture. Never keep sensitive data in browser storage.
Does autocomplete off stop forms from restoring data on Back?
It can. Browsers may skip restoring fields marked autocomplete="off", so removing it from non-sensitive fields can help. Also check that caching or scripts do not rebuild the form on page show.
Does the back button problem affect mobile visitors more?
Often yes. Mobile visitors rely on the system Back gesture, and phone browsers restore pages differently. Test on a real iPhone and Android device, not only a desktop browser.
Does FunnelGuard test the back button in my forms?
No. FunnelGuard does not test back navigation yet; it is a possible future check. It does run your forward form journey on a schedule and checks steps, tracking hits and lead delivery.
Related issues
- CNV-079Multi-step form resets on refreshFix guide
- CNV-069Next button does nothing on step NFix guide
- CNV-076Partial lead capture (step 1 email) not storedFix guide
- CNV-078Step validation blocks progress with valid answersFix guide
- CNV-080Too many steps; drop-off riskFix guide
- CNV-073Progress bar wrong (stuck at 0% or jumps)Fix guide