Normally, you wouldn’t leave the page unless you are starting a new transaction to process, which then you would just input the values again.
What I would suggest is when you go back to that page, you should be invoking or calling the sequence that performs the input fields. And, in this sequence, you should get the value in each field that you wish to input prior to inputting the value. You can get the value using Get Attribute or Get Text activity.
Then, using an IF check that the value does not equal the value you want to input. This way, you can input the value only if it doesn’t have that value.
In most cases, you should know what you want to input each time you enter the page based on some data set from Excel or a similar source. So, there’s really no need to store the existing input values globally.
However, if you require this, then you would need to create ‘out’ argument(s) in the sequence that interacts with the page, so you can store the existing values globally and use again for the next transaction or other sections of your automation.
I don’t know if this answers your question, but it was just some thoughts.