Home All Groups Group Topic Archive Search About

How do I post hidden variables to another form from a popup?

Author
12 Apr 2005 11:55 AM
aaa
I am bringing up a popup which has a couple of fields that the user enters.
I fill the hidden fields then submit and close the popup which then reverts
back to my main form, which retrieves the hidden vars and does the database
operation. Seems straight forward enough but I have run into a few stumbling
blocks including submitting then closing the popup and reverting control
back to the main form to pick up the variables.

Someone has to have done this. Any help is appreciated.

Author
12 Apr 2005 1:39 PM
Eliyahu Goldin
Encapsulate whatever you want to pass back from the popup to the caller into
one object and pass it in window.returnValue property.

Please ask more specific questions. What did you try and what problems did
you encounter?

Eliyahu

Show quoteHide quote
"aaa" <some***@microsoft.com> wrote in message
news:e7yqZa1PFHA.1884@TK2MSFTNGP15.phx.gbl...
> I am bringing up a popup which has a couple of fields that the user
enters.
> I fill the hidden fields then submit and close the popup which then
reverts
> back to my main form, which retrieves the hidden vars and does the
database
> operation. Seems straight forward enough but I have run into a few
stumbling
> blocks including submitting then closing the popup and reverting control
> back to the main form to pick up the variables.
>
> Someone has to have done this. Any help is appreciated.
>
>
Author
12 Apr 2005 1:45 PM
aaa
I did put specifically what I was having trouble with:

"submitting then closing the popup and reverting control
back to the main form to pick up the variables"

Show quoteHide quote
"Eliyahu Goldin" <removemeegol***@monarchmed.com> wrote in message
news:OpcHMw1PFHA.3760@TK2MSFTNGP10.phx.gbl...
> Encapsulate whatever you want to pass back from the popup to the caller
into
> one object and pass it in window.returnValue property.
>
> Please ask more specific questions. What did you try and what problems did
> you encounter?
>
> Eliyahu
>
> "aaa" <some***@microsoft.com> wrote in message
> news:e7yqZa1PFHA.1884@TK2MSFTNGP15.phx.gbl...
> > I am bringing up a popup which has a couple of fields that the user
> enters.
> > I fill the hidden fields then submit and close the popup which then
> reverts
> > back to my main form, which retrieves the hidden vars and does the
> database
> > operation. Seems straight forward enough but I have run into a few
> stumbling
> > blocks including submitting then closing the popup and reverting control
> > back to the main form to pick up the variables.
> >
> > Someone has to have done this. Any help is appreciated.
> >
> >
>
>