473,385 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

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
7 1888
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: genetic.error | last post by:
I'm moving from Vb6 to VB.Net. I have a feeling this has come up before... The VS.Net MSDN file seems to state that the following should work: Form1.Show Form1.Visible = True Form1.Hide...
2
by: Ajai Kumar .R | last post by:
Hai all, I've two or more forms on my app. My requirement is, Have to show the first form asa the user press a button have to hide the first form and show the second form. If the user press the...
2
by: misscrf | last post by:
I have a search form that is great. I have modified it in such a way, that when search results come up I can bring it back to a useful spot, say an entry form or a report. Here is my lemon (...
0
by: Robson Carvalho Machado | last post by:
Dear Friends, I have the following code that creates dynamic controls at my form. My dificult is how to correct this code to put distinct AddHandler to each button and how to choose what label...
30
by: VB Programmer | last post by:
Briefly, how do you save the current form to a jpeg or gif? Details: I have a form with a speedometer control on it. It continually loops through a table in a db that has different current...
4
by: Tony Vitonis | last post by:
I've developed the little class below as what I hope is a generally- useful way of adding programs to, and removing them from, the Registry list of apps that start automatically with Windows. I'd...
54
by: MLH | last post by:
I use A97 and do not always insert line numbers while writing procedures. I find it necessary to go back and add them later to aid in debugging. Nearly 3 years ago, something was mentioned in...
3
by: Øyvind Isaksen | last post by:
I have a datagrid that displays all files in a folder. It works good, but I need a extra column with a link for choosing image. As shown in the code below I have made an ItemTemplate for this, and...
1
by: Esprit | last post by:
Hello I have a subform inside a mainform. I have used a command button with event procedure: Private Sub Picture1_Click() Me.MyForm.Visible = Not Me.MyForm.Visible End Sub to utilise...
1
by: =?Utf-8?B?TWFyayBIb2xsYW5kZXI=?= | last post by:
Hi All, I have registered the steep valley XP Common Controls to the GAC, But I noticed that it does not show up automatically in the Choose Toolbox Items" List. I have to specifically browse to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.