Click to See Complete Forum and Search --> : Adding values based on user input


lamborn
01-17-2004, 07:56 AM
Hello,
I am wondering if it is possible to add values to a form based on the selection of a drop down menu variable in the form.

So If there is a menu with say 5 choices A, B, C, D and E and the user selects A, then form fields further down the form are auto filled with information.

As in Menu item A has an option value of "Bob". If Bob is selected then form fields
Name, Address and Serial Number are automatically populated with Bob's info (which is stored somewhere)

Make sense?

Any help would be awesome
Bruce

96turnerri
01-17-2004, 08:41 AM
here try this just coded it, hope its what your after ;)

lamborn
01-17-2004, 08:58 AM
Many thanks, I'll give it a go.

96turnerri
01-17-2004, 09:01 AM
no problem, works for me, will work fine for you if variables are set correct

lamborn
01-20-2004, 10:05 AM
So this is great. Works wonderfully.
One quick thing, if I wanted to do the same type of deal but using input based on a textfield, that would possible, too. No!?
I'll try to figure the code part if it is possible. Just want to make sure I am not trying something that is impossible.

Cheers
bl

lamborn
01-20-2004, 01:25 PM
Nevermind,
I figured it out.
Although I find reading somewhat hard, this time it paid off...

bl

96turnerri
01-20-2004, 03:27 PM
sry didnt reply, yes that is possible as you now know best of luck with you site bl ;)