On this page
What this issue is
A multi-step form splits a long form into several screens, such as contact details, then project details, then budget. The problem appears when a visitor goes back, either with your on-page Back button or the browser's Back button, and the answers they already gave are gone.
There are two common versions. In the first, the form shows all steps on one URL and Back leaves the page entirely, taking the visitor to the previous site. In the second, Back returns to the form but the fields are empty or the form restarts at step 1.
Why it costs you leads or sales
People press Back to correct a typo or check an earlier answer. If they lose their work, they must retype everything or leave. Most leave, and you never see them, because they abandoned mid-form and no lead was submitted.
It also hurts on mobile, where the hardware or gesture Back is used constantly. The impact is rated medium because it only hits people who go back, but those are often careful, interested buyers.
Example: of visitors who press Back at step 3, a form that keeps answers lets more of them finish. Numbers are illustrative, not measured.
- Step 1Name and email entered
- Step 2Project details entered
- Press BackForm resets or page leaves
- Retype answersVisitor must start over
- SubmitLead never arrives
The visitor goes back to fix one answer and the form resets.
How to check if your site has it
Fill in step 1 and continue
Use realistic test data and move to step 2.
Fill in step 2 and continue to step 3
Stop before the final submit, or use a test lead you can delete.
Click your on-page Back button
Check that step 2 still shows your answers.
Press the browser Back button
Note whether you move one step back, return to step 1, or leave the page.
Go forward again and refresh
Check whether answers survive a reload. Repeat on a phone using the swipe or hardware Back.
| What happens on Back | Likely cause |
|---|---|
| Leaves the page entirely | Steps change without history entries (one URL, no pushState) |
| Returns to step 1 with empty fields | State held only in memory and the page reloads |
| Previous step shows but fields are blank | Step is re-rendered and values are not restored |
| Works in one browser only | Browser autofill or cache differences |
How to fix it
The fix has two parts: store each answer when the visitor moves on, and make each step a history entry so Back moves one step. Many form builders have a setting for this, so check yours before writing code.
Check your form plugin's multi-step settings
In plugins such as Gravity Forms, WPForms, Fluent Forms or Forminator, look for options such as save and continue, progress saving, or back button behaviour. Options vary by plugin and version.
Update and test for conflicts
Update the form plugin, then disable page-caching or optimisation plugins for the form page to see if they cause the reset.
Use a form app that stores step data
Shopify themes have no multi-step lead form built in. Check your form app's settings for progress saving, or test another app if Back clears answers.
Check theme scripts
If the form is custom in the theme, apply the code pattern below to your theme JavaScript.
Review how steps are built
Native Webflow multi-step forms are often tabs or hidden divs on one page. Back then leaves the page. Add the history code below in custom code, or use a form tool that supports step history.
Open the multi-step form or survey settings
In the form builder, check the settings for the step navigation and Back button, then preview and test. If answers are lost, test with the on-page Back button and the browser Back button separately.
Prefer a native multi-step form
If you built steps with lightboxes or strips, answers may reset. Use Wix's multi-step form option if available for your plan, then test Back.
Use a form tool that supports progress
Squarespace forms are single-page. If you embed a third-party multi-step form, check its progress saving settings and test Back.
Save answers on each step
Write the values to sessionStorage when the visitor clicks Next, and restore them when a step is shown.
Push a history entry per step
Call history.pushState on Next and listen for popstate so Back shows the previous step instead of leaving.
const form = document.querySelector('#lead-form');
const steps = [...form.querySelectorAll('[data-step]')];
let current = 0;
function save() {
const data = Object.fromEntries(new FormData(form));
sessionStorage.setItem('lead-form', JSON.stringify(data));
}
function restore() {
const data = JSON.parse(sessionStorage.getItem('lead-form') || '{}');
for (const [name, value] of Object.entries(data)) {
const field = form.elements[name];
if (field && field.type !== 'file') field.value = value;
}
}
function show(index) {
current = index;
steps.forEach((s, i) => (s.hidden = i !== index));
}
function next() {
save();
history.pushState({ step: current + 1 }, '', '#step-' + (current + 2));
show(current + 1);
}
window.addEventListener('popstate', (e) => {
show(e.state && e.state.step ? e.state.step : 0);
restore();
});
restore();
show(0);Before
- Back leaves the form page
- Answers are blank when you return
- Visitor retypes or quits
After
- Back moves from step 3 to step 2
- Earlier answers are filled in
- Visitor corrects one field and continues
Progress not saved
Leads or data lost
Visitor presses Back, answers are blank, and many abandon the form.
Toggle the cause to see how saving progress changes what a visitor who goes back experiences.
How to confirm it's fixed
- On-page Back shows the previous step with answers filled in
- Browser Back moves one step and does not leave the form
- Forward again keeps the answers
- A page refresh on step 2 or 3 does not lose data, or clearly tells the visitor what to do
- Works on desktop Chrome, Safari and a real phone
- Final submit still sends the lead and reaches your inbox or CRM
- Saved data is cleared after a successful submit
How to prevent it happening again
Add the Back test to your checklist whenever you change the form, its plugin, or the theme. Form plugin updates and new caching or optimisation settings are common causes of regressions. Keep a short note of which steps and fields exist, so you can retest after edits.
How FunnelGuard handles this
FunnelGuard detects this issue only partly. Its robot visitor runs your form journey on a schedule and checks sequential steps only: it moves through the steps in order, one after another, and checks each one works. It does not go back and forth, so it does not press Back and check that earlier answers are still there.
If a step breaks, for example the Next button stops working or the final submit fails, FunnelGuard re-checks from a second region and sends one alert with a screenshot and a likely cause. It also checks the tracking hits and whether the test lead reaches your inbox and CRM.
To cover the rest by hand, run the Back test from the checking section after every change to the form, on desktop and on a phone. FunnelGuard's Free plan covers 1 site and 2 journeys with daily checks and no card, so the forward journey stays monitored while you test Back yourself.
Questions people ask
Why does my multi-step form lose data when I press Back?
Usually the steps are shown and hidden on one page without history entries, or answers are held only in memory. Back then leaves the page or reloads the form and the values are gone. Save answers on each step and push a history entry per step.
How do I save progress in a multi-step form?
Write the field values to sessionStorage when the visitor clicks Next, and restore them when a step is shown. Many form plugins also have a save progress or save and continue setting. Clear the saved data after a successful submit.
Why does the browser Back button leave my form instead of going to the previous step?
The steps probably share one URL and no history entry is created when the step changes. Use history.pushState on each Next and listen for the popstate event to show the previous step.
Is sessionStorage or localStorage better for form progress?
sessionStorage is usually better for lead forms, because it clears when the tab closes and does not leave personal data on shared devices for long. localStorage keeps data until cleared, which suits long forms people return to days later, but store as little personal data as possible.
Does a multi-step form lose leads compared with a single-page form?
It can, if Back or refresh wipes answers. A multi-step form that preserves answers and lets people move back freely avoids that loss. Test the Back behaviour rather than assuming either format is better.
Can FunnelGuard detect when my form loses progress on Back?
Only partly. FunnelGuard checks sequential steps, moving forward through the form in order, and alerts you if a step or the submit fails. It does not press Back, so test that part by hand.
How do I test the Back button on a multi-step form?
Fill in two steps, click your on-page Back button, then the browser Back button, and check that answers remain and you move one step at a time. Repeat on a real phone, and after refreshing the page.
Related issues
- PRF-230Back button loses form/cart stateFix guide
- PRF-229Back button broken (history hijacked, redirect loop)Fix guide
- PRF-216Form loses entered data on validation errorFix guide
- PRF-215Errors only shown after submit, all fields clearedFix guide
- PRF-211Form has too many fields (10+ on a lead form)Fix guide
- PRF-220No thank-you/confirmation after submitFix guide