I am trying to send data collected on one page and fill a form on another page on button press.
So I use google distance api to get postcode and travel distance info. I do this on a page with some inputs that a user fills then the results from google are shown and a price is calculated and shown.
Now I would like to take that some of that data on button press and direct to a form where some fields are pre-filled from this data before submission.
So to clarify, on one page is where the user inputs like a couple of postcodes. I get the distance from the google api and update another input with some calculated info (like the address) based on the postcodes.
When they press the button, I want to open a different page with a form and I'd like that to be already filled with the data from the first page (the address information retrieved via the google api) before submission.
Do you know how I can possibly achieve this?