This content has been marked as final. Show 4 replies
You can reference the window that opened a window by using 'window.opener'.
window.opener.document.forms.contact.value = 'some value'
Keep in mind though, that you probably want to use an ID field in this case, which is also easy to handle, just create a hidden form field named contactID and also populate it using the same technique.
What I typically do when the need arises to pass info back a forth is to call a function in the opening page, and pass in any necessary info like:
Hope this helps.
OK, I am getting there but not just yet. Two thing:
1. I want the cont_row_id value to appear as a button, which work, but each record is a different size. I would like for them to all be the same size.
2. When I try to click on the cont_row_id button nothing happens - I just get an '! error on page" at the bottom - no explanation.
Here is my code:
window.opener.formPicker.forms.acty_cont_row_id='cont_row_id' might need to be
That does not appear to work either. Any other suggestions? By the way, I really appreciate the help - thanks.