Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > Forms

Notices

Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder.

Reply
 
LinkBack Thread Tools
  #1  
Old 06-23-2008, 03:38 PM
Private
 
Join Date: Jun 2008
Location: Lagos, Nigeria
Posts: 2
Send a message via Yahoo to nicechap
Question Linking Combo Box's Contents together

Hi All,

I am new here but I need your help in acheiving a goal concerning my pet website.

I have a combo box with some items listed e.g.
-Item A
-Item B
-Item C
-Item D

When a user selects a particular item, I want another combo box to be populated with another sets of items relating to the item selected in the first combo box field. For example,

if Item A is selected, then the second combobox should have the following lists
--Item A1
--Item A2
--Item A3
--Item A4

if Item B is selected, then the second combobox should have the following lists
--Item B1
--Item B2
--Item B3

if Item C is selected, then the second combobox should have the following lists
--Item C1
--Item C2
--Item C3
--Item C4

I hope my explanation is clear.

Please somebody should help me out.

Regards,
nicechap.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 06-23-2008, 06:10 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,037
Default Re: Linking Combo Box's Contents together

What you ask for requires some degree of experience or a tool to achieve.
You can do it in two ways:
1. Using Javascript, with embeddd in the page JaVascript. Have a look at http://www.dbtechnosystems.com/Tips/...drop_downs.php
This is a three level dependent drop down based on a script found (if i recall well) on Dynamic Drive and modified from the original two level.
2. Using Ajax (which is Javascript plus a server side programming language like php or Perl). Have a look at this application i made for a client of mine: http://www.evansconstructionpages.com/

When you select a State, the counties dropdown is automatically populated, the same for categories and subcategories. This is the best solution if you have too many values (in this case, thousands).

Search the net, there are dropdown creation tools if you have only a few values and you can make it with simple Javascript
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 12:58 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2007 VodaHost.com - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55