Forums

This topic is locked

Forms fields clear when jump menu item selected

Posted 18 Dec 2002 15:28:13
1
has voted
18 Dec 2002 15:28:13 wendy owens posted:
I have a jump menu on a form. My problem is when I select an item from the jump menu after I have filled in other fields in the form, all the other fields clear. Also, when an item in the jump menu is selected, three other fields are populated automatically. I don't know if this has something to do with it or not.

Replies

Replied 18 Dec 2002 18:09:26
18 Dec 2002 18:09:26 Dennis van Galen replied:
The problem is your jump menu, i suggest you drop it and add in it's place a decent list/menu box.

Jump menu's are meant to jump to a different page if the user selects something and post the form data to the page it jumps to, hence the name.

Hope that helps you.

with regards,

Dennis van Galen
DMXzone Manager

Extension, Tutorial and FAQ's Manager

Hungry ? <a href="www.thepattysite.com/dwg_main.cfm" target="_blank">Visit
Dreamweaver Gourmet</a>
Replied 18 Dec 2002 18:23:56
18 Dec 2002 18:23:56 wendy owens replied:
Thanks for the suggestion. If I create a regular list/menu box, how do I code it so the three other fields in the form are automatically populated? Any feedback is appreciated.
Replied 18 Dec 2002 22:32:32
18 Dec 2002 22:32:32 Dennis van Galen replied:
Wendy,

You want a Javascript function that is executed when the user selects something from the list.

I'm not sure what exactly you want and i am really bad with Javascript so I think it is best of you look for yourself in this Javascript Form scripts repository:
developer.irt.org/script/form.htm

There really are tons of them so there's a good chance that your problems is allready solved and it's ashame to re-invent the wheel.

Dennis

Reply to this topic