Form inheritance-web not working

Hi All

This is very common question asked on this forum,I tried to search this on web and got many responses.

I am having a help desk database which require users feed back,i have given a button on my main form to open the feed back form.which has

window.open(“http://xmas/Don/Request.nsf/users?OpenForm","users”,‘resizable=no,scrollbars=no,width=550,height=300,toolbar=no’);

I need to pass the some value to link both the forms,i tried to pass the documentunique id,then i am passing the r_reno field

in my other form’s on load event i am writing the following code

document.forms[0].r_reno.value =window.opener.document.forms[0].r_reno.value;

but it does not work every times,some times it works ,some times it does not pass the value.What could be the possible reason.

Subject: form inheritance-web not working

You should pass any parameters you need in the url itself, and not depend on JS to link the documents together:

window.open(“http://xmas/Don/Request.nsf/users?OpenForm&var="+stringvalue,"users”,‘resizable=no,scrollbars=no,width=550,height=300,toolbar=no’);

In the form, use @URLQueryString(“var”) to get the value of the parameter.

/Peter