Pretty standard stuff, really. All IE6.
The popup will step the user through a couple select lists, each paring down
the next until I reach the last select (think Wizard). That's select's
value will be passed back to the parent window and populate a field.
Since I posted, I've been mucking about with using:
self.opener.document.formname.fieldname.value = 'foo';
But each time I receive an error:
'self.opener.document.formname.fieldname' is null or not an object
I've found if I don't use named elements and instead code like so:
self.opener.document.forms['formname'].elements['fieldname'].value = 'foo';
or even:
self.opener.document.forms['formname'].fieldname.value = 'foo';
the script works. I've looked at several examples that have all named
references so I'm not sure why it's failing. I can use the 'long form' if I
have to, but I'd rather use straight formname.fieldname refrencing if
possible.
I may have the popup pass hidden values as well, I'm still working out what
I want stored in the db. My guess is that I'd just need to add a ...value =
'whatever' statement for each form field. But if you have additional
guidance, do tell.
Thanks for your interest.