Saving Inputs When Leaving Page

In my app I have one page where users input their inputs (numbers) then a button is clicked and the app goes to a summary page that displays key numbers from their inputs. However, on the summary page when I go back to the input page (first page), the original inputs are gone. Is there a way users can have the data remain on the input page until say a refresh data button is clicked?

Hi there, @sylteem… if multiple pages are involved, you would need to store the values in a data type, use URL parameters, or make use of local storage with the Floppy plugin.

Hope this helps.

Best…
Mike

2 Likes

I can think of two ways to do what you want.

  1. My users will regularly do searches using the same values almost all the time, with only occasional minor changes. So when they enter them, I write them out to the database. I have corresponding fields in the User table for the search criteria they enter in. So regardless of how they get to my “search” page I always have them.

  2. You could send the search criteria to the next page as parms in the URL. Then when they go back to the search page, open that page, passing the search criteria as parms in THAT URL. Then when that page opens, set the search fields to the values you get with “get data from URL” calls.

This topic was automatically closed after 70 days. New replies are no longer allowed.