Loading data on browser back button press

I am creating a multi-page application, much like a search engine, where on the index page, there is a repeating group that displays search results based on what is entered into the search box. The search results are obtained from an API call to Algolia.

When a user clicks on one of the search results, it loads an external page. Now, if that user clicks on the back button, I want to re-load the search results that the user saw earlier.

Is such functionality possible? How do I go about it?

Hey @sandeep.jaykumar
This possible. I would recommend using a URL query parameter to implement this functionality. Once the user hits the back button, the URL retains the query, and the query automatically filters the Repeating Group.

1 Like