Browser refresh is blanking fields

I have a form on the web. If I fill out the various fields, then press the browser refresh, all of the fields are blank.

Yeah I know, don’t do that.

But other then telling them not to do it, how do I keep my users from pressing browser refresh?

Is there anyway to maintain the values (other than tons of Cookies)? if so how?

Or at least is there a way to warm them? I have seen this on other sites.

Subject: Browser refresh is blanking fields

Mozilla will ruthlessly maintain field values unless you force a complete refresh (Ctrl+F5, Ctrl+click, Ctrl+Shift+R) so the problem is likely occurring in MSIE – and you can use the onbeforeunload event to prompt the user, warning them about losing information and allowing them to cancel the refresh. (Note that onbeforeunload is supported in the current versions of most browsers, even if it is not a “proper” W3C event binding. It sort of snuck in by popular demand, just like the XmlHTTPRequest object.)

Subject: RE: Browser refresh is blanking fields

Thanks Stan I will take a look at that.

Subject: Browser refresh is blanking fields

I guess my question is why is some one pressing refresh?

Having said that, I use a webquerysave formula that if certain conditions aren’t met, it keeps the document open w/ the values there. In one instance, where a refresh is helpful, I actually save the document in the button and open it from an “alldocsbyUNID” view- would love to hear what others do.

Tom

Subject: RE: Browser refresh is blanking fields

So Tom,

If I understand you correctly, you save the document anyway. If it does not neet certian criteria, you look it up and open the document again and have the user correct the problem?