One way would be to store the values of the form fields as session storage items, once a 'blur' event occurs on the input field.For example, if you're using jQuery and you have simple text input fields you could do:$('input').on('blur',function() { // cancel if no data or if the input field...