this is my very first post here so any criticism regarding this question is very welcome.
To the question: I have a form input on my web page which hold basic user data (Please enter your name etc) But since the web page has more than one page, a user could navigate between the pages with a not fully completed and submitted form. (Go back to shop while on card page for example) I wanted to ask if it could be possible to keep what was already filled out by the user on page refresh without the user actually pressing a submit button or what would be best practice.
Right now i'm trying an Ajax request with JS onclick events to somehow get the relevant info to my php $SESSION. Sadly i'm failing horribly with that, so if that would be the way to go and you know a good tutorial for that, i would be glad for a link too.
Thank you for your time!