in reply to transferring field value from a popup window to its main form

you might wan't to check the samples for cgi.pm, they cover this issue as well, even though these use javascript and frames it's easy to adapt.
  • Comment on Re: transferring field value from a popup window to its main form