Web Redirect in Notes Document

I need to redirect users to another url on loading a document.I want to use a document as I’d like to have flexibility if we want to have other redirects to other pages.

Currently, I can get the following codes to work if I create a document using “…/test?openform” :

META HTTP-EQUIV="refresh"CONTENT="http://www.etc."

or

--------
  • where lookup_fld.value contains the new url

But, I cannot get either to work on opening an existing document.

I’d prefer the Javascript solution so I could have lookup_fld editable.

Any suggestions are welcome.

thanks

Subject: Web Redirect in Notes Document

try pasting ur code on the form and making it “Pass Through HTML”.

cheers!!

Ashish

Subject: RE: Web Redirect in Notes Document

hi

tried that - in fact, that’s how its set in the form - which works using ?Openform.

But not when a document created with the form is opened - does a refresh or something need to be called?

Subject: RE: Web Redirect in Notes Document

u can also try redirecting using the “onload” event of the form.