473,394 Members | 1,718 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,394 software developers and data experts.

Linked Form Menus

Hello

I currently have a page with car manufacturers in a dynamic form menu.
Users can select one and click submit to find available cars by that
manufacturer. What i now need is a second menu on the page where when a
manufacturer is selected, the models associated with that manufacturer
display for a user to choose. For example if Ford is selected:

Menu One Menu Two
------------------ -----------------
Ford Focus
Fiesta
Ka....

Can i do this with ASP to say "if menu one is ford, menu two
contains...."? Or is there a much easier way which i am somehow
missing?

Thanks for your help,
Gareth

Jun 22 '06 #1
4 1139
You need a combo of JavaScript and ASP assuming you are pulling your
car values from a DB.

http://forums.aspfree.com/code-bank-...xes-53159.html

Earl
www.jhdesigninc.com

Jun 22 '06 #2
Hi Earl,

Indeed i am getting my values from a database. Thanks for the link... i
will check it out now and get back to the thread if i have any
problems.

Thanks again,
Gareth
surf_doggie wrote:
You need a combo of JavaScript and ASP assuming you are pulling your
car values from a DB.

http://forums.aspfree.com/code-bank-...xes-53159.html

Earl
www.jhdesigninc.com


Jun 22 '06 #3
Earl,

Got that working without any problems at all! Thanks for the link! Just
one quick query though... At the moment the two drop down menus are
side by side like this:
_________ _________
|________| |________|

Is there any way to get them one on top of the other:
_________
|________|
_________
|________|

I know it is somewhere in the asp script but i do not know enough asp
yet to understand where i can put a line break.

Thanks again for your help,
Regards, Gareth
surf_doggie wrote:
You need a combo of JavaScript and ASP assuming you are pulling your
car values from a DB.

http://forums.aspfree.com/code-bank-...xes-53159.html

Earl
www.jhdesigninc.com


Jun 24 '06 #4
Never mind! I read the rest of the posts on the link you sent and the
answer was there! I should have done that before posting so sorry about
that!

However, a question i do have is how can i reduce the size of the menu.
Currently, when the user clicks on the drop down menu 30 options come
up... can i reduce this at all?

The code i need to alter is Part 3 on this page:

http://forums.aspfree.com/code-bank-...xes-53159.html

Thanks for your help
Gareth
gj********@volcanomail.com wrote:
Earl,

Got that working without any problems at all! Thanks for the link! Just
one quick query though... At the moment the two drop down menus are
side by side like this:
_________ _________
|________| |________|

Is there any way to get them one on top of the other:
_________
|________|
_________
|________|

I know it is somewhere in the asp script but i do not know enough asp
yet to understand where i can put a line break.

Thanks again for your help,
Regards, Gareth
surf_doggie wrote:
You need a combo of JavaScript and ASP assuming you are pulling your
car values from a DB.

http://forums.aspfree.com/code-bank-...xes-53159.html

Earl
www.jhdesigninc.com


Jun 24 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Jeffrey Silverman | last post by:
Hi, all. I have a linked list. I need an algorithm to create a tree structure from that list. Basically, I want to turn this: $list = array( array( 'id' => 'A', 'parent_id' => null, 'value'...
6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
11
by: C++fan | last post by:
Suppose that I define the following class: class example_class{ public: example_class(); void funtion_1(); void function_2(); protected:
8
by: Alison | last post by:
Hi, Al I am trying to design a user interface which provides both menus and toolbars for some users to click on whatever they want to do, at the same time, I would like to have a console window...
4
by: Nikolay Petrov | last post by:
Hi everyone! I am developing app, which should be used by users, which are members of different groups. These users and groups are stored in my SQL database and are custom for my application,...
3
by: craftycaps | last post by:
Ok, I'm so sorry, but I'm very new at this. So new in fact that I had a friend of mine integrate this shopping cart with my current online store. My site is up, but it is not linked yet to the shop...
10
by: jmartmem | last post by:
Greetings, I have an ASP page with a 5x5 table embedded inside an Insert Record Form. This table contains several fields (mostly drop down list menus) and is used for corporate timekeeping (users...
9
by: jmartmem | last post by:
Greetings, Perhaps someone can help me resolve what I hope is a simple dilemma... I have one ASP page (TEST_RoadmapData_Search.asp) which contains two list/menus within a form, which, upon...
16
by: Steve | last post by:
I am working on a database that has a main menu, many sub-menus and some sub-sub-menus. They are all forms that have numerous command buttons on them to open forms and reports in the database. The...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.