Maintaining form input if app closes

Maintaining form input if app closes

Sorry if this has been addressed, but I can't seem to find it in the forums.  I've created a mobile app with a basic form.  The users will primarily be using iPhones iOS 6.x.  I want to be able to maintain the form input if the user fills out part of the form then closes the app before hitting submit and then returns to the app to finish filling out the form.  This works fine if the app is opened in Safari (the field inputs are preserved if the user navigates away from the page and comes back using back button or closes Safari and opens it back up).

The problem is when the user adds the site to their homepage and uses the form through there.  In that case, if the user fills out part of the form, closes the app, and comes back, it refreshes the page and the data that was input earlier is lost.

I'm not sure if this is a caching problem, or I just need a way to prevent the page from refreshing if the user closes out of the app and comes back later.

Any suggestions?