You can use opener property to refer to window that opened current window.
So if you want to access from formB in one window formA in first window
you can do the next :
formB.Text.Value = opener.formA.Text.Value;
Hope this what you wanted.
Oleg.
-----Original Message-----
From: aps@i... [mailto:aps@i...]
Sent: February 20, 2002 6:16 PM
To: JavaScript HowTo
Subject: [javascript_howto] Passing one form's results to a field in
another form
Hi all,
I have a scenario where I want to pop-up a form (formB) in a non-modal
window from a button in the body of another form (formA. The idea is that
the results of formB are concatenated into a single field (results_formB)
in formA before submission of formA. The target field will be read only
and form submission cannot proceed unless results_formB has been populated.
Any ideas on how the above might be achieved?
Cheers
Andrew
$subst('Email.Unsub').