Click to See Complete Forum and Search --> : entering form info from popup window


drgnfli4
06-02-2003, 01:48 PM
I hava an image in a form that opens a popup window...the selection that is made in the popup needs to be submitted with the form. I have seen it done I just don't know how. Can anyone help me?

Jona
06-02-2003, 02:03 PM
Do you have a link err something for us to look at what you've got thus far? Don't wanna make a script that you don't need. :D

Jona

drgnfli4
06-02-2003, 02:14 PM
I haven't even started to write it yet...because I don't know where to start. What I am trying to do is this: I have a form for boat graphics ordering and pricing. I would like an image in the form to open a window that shows different font faces and the user would then chose which font he/she wants. The font face they choose in the pop up window would be submitted within the form so that we know which font to use.


P.S. Jona...i would like to thank you for your help so far...everytime I post a question you've helped me tremendously. :)

AdamGundry
06-02-2003, 02:22 PM
You should use a new page or something instead of a popup window. From the WCAG (http://www.w3.org/TR/WCAG10/#gl-interim-accessibility):10.1 Until user agents allow users to turn off spawned windows, do not cause pop-ups or other windows to appear and do not change the current window without informing the user.Adam

Jona
06-02-2003, 02:25 PM
Adam, I didn't even see that "rule." But thanks for pointing it out. I don't commonly use popups, as a general rule for myself.

Drgnfli4, I think that you might want to just send variables back and forth through the server for the users who have JavaScript disabled--and to prevent using popups.

Jona

drgnfli4
06-02-2003, 02:30 PM
ok... then is it possible to insert graphics (GIF's or JPG's) into a pulldown menu? If so, How?

Jona
06-02-2003, 02:36 PM
No, it's not possible unless done with DHTML. However, you may want to just change the SRC of an image to the right of the dropdown box depending on which option was selected.

Jona

drgnfli4
06-02-2003, 02:53 PM
Jona, Thank you for your help once again...I can always count on you.

Adam, Thanx for the "no popups rule" I will avoid using them from here out.:D

Jona
06-02-2003, 02:56 PM
I try my best, even though it's hard to answer 12 questions at once. ;)

Jona