I have an app that has two screens, file.html and terms.html . In register.html I have a checkbox for the user to accept the terms, you can only register if you accept, but you do not have to open the terms screen. But if it opens, there will be two accept and refuse buttons at the end of the text. Let's say he accepted, so he goes back to cadastro.html page with the checkbox already selected, but loses all input data he has already filled.
My question is: how do I not lose this data when it clicks terms.html and then redirect to register.html ?