Javascript doc validation

What I’ve been doing is “window.open(‘Confirm?OpenForm’,‘’,‘width=800,height=600’);” in the OnLoad event.

Requirements have changed, and now they want the user to be able to select if they do not want to see this popup window anymore. So what I’ve done, is if they choose not to view the popup anymore, it saves the form to a document.

What I need help doing is on the OnLoad event, check the “AConfirm” view. If there is a document in the “AConfirm” view, do not run “window.open(‘Confirm?OpenForm’,‘’,‘width=800,height=600’);”

Any help would be appreciated. Thanks!

Subject: RE: Javascript doc validation

Can’t you just store their preference in a cookie?

If not, you could use a computed for display field on the form to do the lookup and calculate a value that your JavaScript can read (e.g. the value could be “” in that case.

Subject: RE: Javascript doc validation

I could store their preference in a cookie if I knew how to do that. I’m a lotuscript guy, not a javascript guy :slight_smile: