Forum Moderators: coopster

Message Too Old, No Replies

Help with returning variables to previous forms

I need help returning vars to index page

         

McLoco

10:06 pm on Sep 15, 2003 (gmt 0)

10+ Year Member



Hi!

I'm used to code in, for example, Visual FoxPro where you have total control of forms and its behaviours.

Now, I'm this wonderful world of PHP, but I still find problems with some things I'm used to do.

My current problem is this:

"Add Contact"
¦---------------------------¦
¦ Capture client data ¦
¦ Select a client's company ¦
¦---------------------------¦
..¦
.\¦/
"Search company" Popup
¦--------------------------¦
¦ This screen gives the ¦
¦ option to search the ¦
¦ available companies, ¦
¦ choose the good one and ¦
¦ then THE PROBLEM! ¦
¦--------------------------¦

I need the "Search Company Popup" to send the value to "Add Contact" and then to close itself.

In "Add Contact" I used isset to determine if the company var is already set or not, but I need to send a "refresh" command to the first one and then close the second...

I don't know if this is the appropiate approach, and how to accomplish it...

Anyone can help?

Thanks a lot!

jatar_k

1:28 am on Sep 16, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld McLoco,

I assume there is too much data to just put it in a drop down? A combination of javascript and php might be required. The js to refresh and close windows then the php to load the data.

McLoco

2:32 am on Sep 16, 2003 (gmt 0)

10+ Year Member



Quote:
--------------------------------------------------------
Welcome to WebmasterWorld McLoco,

I assume there is too much data to just put it in a drop
down? A combination of javascript and php might be required.

The js to refresh and close windows then the php to load the
data.
--------------------------------------------------------

Hi & Thank you :)

Well, the main concern I have is with Creative People (look & feel design) :) They made a design that only allow me to insert a small number of lines (already used by the search conditions), and because of that I must use a popup :\

Exactly that was I thought, js & php... But I've never used js... I've just learned ASP and now I'm learning PHP :)
If you know a js & php method to accomplish this, I'll be very grateful :)

Thanks!