How to control form display when return to app

I have a login form - then inside the app, on another form, the user can click a link to go outside of the app to a website. Is there a way for the user to ‘resume’ the app at the same place/form when they are done at the external website?

There’s no magic way to do this. Keep your current state in localStorage. When you come back, read it in, go to the correct form and fill in the values which were there before (which you saved in localStorage)

Actually, her forms keep their state and so she returns to the previously completed form - she wants the user to return to a blank form.

So it’s really this question?