By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,747 Members | 1,482 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,747 IT Pros & Developers. It's quick & easy.

how to choose one field and automatically show sub-selections in another field?

P: n/a
I'd like to have several levels of field selection. For example, field one
has three choices. Once you choose on form field one, several selections
show in field based that ARE BASED ON your selection in field one. Field
three selections are based on field two,...

If you know of a good tutorial or site recommendations, I' appreciate you
posting them here. Thanks.
Jul 23 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
What do you mean by 'fields' ? Dropdowns ? radiobutts ? checkboxes ?

Oeyvind

--
http://home.online.no/~oeyvtoft/ToftWeb/

"NotGiven" <no****@nonegiven.net> skrev i melding
news:q0*******************@bignews1.bellsouth.net. ..
I'd like to have several levels of field selection. For example, field one has three choices. Once you choose on form field one, several selections
show in field based that ARE BASED ON your selection in field one. Field
three selections are based on field two,...

If you know of a good tutorial or site recommendations, I' appreciate you
posting them here. Thanks.

Jul 23 '05 #2

P: n/a
Probably checkbox or radio buttons - I know they would be treated
differently, but if I learn one, I coul dlearn the other. Thanks.

"oeyvind toft" <oe******@online.no> wrote in message
news:I7******************@news4.e.nsc.no...
What do you mean by 'fields' ? Dropdowns ? radiobutts ? checkboxes ?

Oeyvind

--
http://home.online.no/~oeyvtoft/ToftWeb/

"NotGiven" <no****@nonegiven.net> skrev i melding
news:q0*******************@bignews1.bellsouth.net. ..
I'd like to have several levels of field selection. For example, field

one
has three choices. Once you choose on form field one, several selections
show in field based that ARE BASED ON your selection in field one. Field
three selections are based on field two,...

If you know of a good tutorial or site recommendations, I' appreciate you
posting them here. Thanks.


Jul 23 '05 #3

P: n/a
NotGiven wrote:
Probably checkbox or radio buttons - I know they would be treated
differently, but if I learn one, I coul dlearn the other. Thanks.


Thats not true. Radio Buttons and Checkboxes are entirely different when
it comes to dealing with them in Javascript. Especially when it comes to
getting the value of one. Consult the FAQ, and its notes.

http://jibbering.com/faq/#FAQ4_13

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #4

P: n/a
that helps with the form control bu tnot the question in general - thanks
"Randy Webb" <Hi************@aol.com> wrote in message
news:6b********************@comcast.com...
NotGiven wrote:
Probably checkbox or radio buttons - I know they would be treated
differently, but if I learn one, I coul dlearn the other. Thanks.


Thats not true. Radio Buttons and Checkboxes are entirely different when
it comes to dealing with them in Javascript. Especially when it comes to
getting the value of one. Consult the FAQ, and its notes.

http://jibbering.com/faq/#FAQ4_13

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #5

P: n/a
On Sat, 4 Sep 2004 12:54:30 -0400, NotGiven wrote:
that helps with the form control bu tnot the question in general -
Seems the question is too general.
Name a specific case and nail it down.

Figure that out, then attack another form.
..thanks


No worries.

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #6

P: n/a
two checkboxes, c1 <Sport>, c2 <SUV>. one field, f1 <MODELS>. If user
checks c1, f1 is filled with models of Sports cars (Mustang, Porche,...).
If c2 is checked, then f1 is filled with SUV models.

By filled with, I f1 was empty but after the checkbox is checked, many
choices appear.

Thanks.
"NotGiven" <no****@nonegiven.net> wrote in message
news:q0*******************@bignews1.bellsouth.net. ..
I'd like to have several levels of field selection. For example, field
one has three choices. Once you choose on form field one, several
selections show in field based that ARE BASED ON your selection in field
one. Field three selections are based on field two,...

If you know of a good tutorial or site recommendations, I' appreciate you
posting them here. Thanks.

Jul 23 '05 #7

P: n/a
I have done some experiments on a setup like the one you mention (but using
radiobutts).

If you supply an email address I can send it...

Oeyvind

--
http://home.online.no/~oeyvtoft/ToftWeb/

"NotGiven" <no****@nonegiven.net> skrev i melding
news:P2******************@bignews3.bellsouth.net.. .
two checkboxes, c1 <Sport>, c2 <SUV>. one field, f1 <MODELS>. If user
checks c1, f1 is filled with models of Sports cars (Mustang, Porche,...).
If c2 is checked, then f1 is filled with SUV models.

By filled with, I f1 was empty but after the checkbox is checked, many
choices appear.

Thanks.
"NotGiven" <no****@nonegiven.net> wrote in message
news:q0*******************@bignews1.bellsouth.net. ..
I'd like to have several levels of field selection. For example, field
one has three choices. Once you choose on form field one, several
selections show in field based that ARE BASED ON your selection in field
one. Field three selections are based on field two,...

If you know of a good tutorial or site recommendations, I' appreciate you posting them here. Thanks.


Jul 23 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.