Value Passing other for(Web)

Hi Few days back i was trying to pass the value of one field to another form(main to child),the field was computed,I tried this with the following java script.

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

and on child forms onlod i wrote:

document.forms[0].r_docid.value =window.opener.document.forms[0].r_docid1.value;

but it was in vain,then i made the fields of both the forms editable it worked fine,now i need to make the fields hidden but when i am doing so the value is again not passing from my main to child form.Is i am doing some thing wrong,

Regards

AM

Subject: Value Passing other for(Web)

You can pass values in javascript between forms to hidden (notes hidewhen) computed fields. For this to work you’ll need to generate html for the fields. There’s a form property “Generate HTML for all Fields” for this purpose.

HTH

Sai

Subject: RE: Value Passing other for(Web)

Sai I tried this,but it’s does not work all the times,like if i am putting the value for 1st time it works,but 2nd time it does not work.

Subject: Value Passing other for(Web)

you can field hidden by adding “type=hidden” at html field properties.

Subject: Value Passing other for(Web)

Hi,

In Notes hidden doesn’t mean hidden but not present. Personally, I always use css styles to hide fields. (display: none; or visibility: hidden).

Joost