I have a requirement where I need to pass form data from one HTML page to another HTML page. There are 5 pages in total. The user enters data in the following order:
1st page: Name
2nd page: Weight
3rd page: Height
4th page: Country of birth
5th page: Show all the data entered and also send it to the database as ajax request.
I know I can take user data in one form and multiple pages are not needed, but this requirement is unique to my project and it has to be the way mentioned above. I have tried passing data as URL parameters but after the first page, the variable gets overwritten with the second page's variable. Please Help I am new in HTML and js.