I have a country field in Sitecore Forms which gets data populated from AJAX call on page load. enter image description here

When I enter all the values in the form and navigation to next page all the fields looks fine. I am facing issues when I am clicking on the back button and going to the previous page the data populated on the country field is removed.

enter image description here

How to resolve this issue?

  • Did you get any console error when you clicked the back button? Nov 21, 2023 at 14:29
  • No console error @Sumit Bhatia
    – Mamtha
    Nov 22, 2023 at 9:24
  • Is "Advanced settings -> AJAX" disabled or enabled for your form on the Settings tab? If AJAX is disabled on a multipage form then use of the browser's back button will lead to data loss. Nov 28, 2023 at 14:41


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.