close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Dynamic Data for Menu

Thread began 3/27/2010 7:25 am by anonymous | Last modified 5/17/2010 12:41 pm by anonymous | 1532 views | 9 replies

Jason ByrnesWebAssist

to create dynamic dependent drop down list that you are describing, you will need to use our Dynamic Dropdowns extension.

your data base should have a make table, and a model table using a foreign key in the model table to relate them:

make:
makeID - Primary Key
makeName - text


model:
modelID - Primary Key
modelMakeID - Foreign Key relation to make.makeID
makeName - text

example data:
make:
makeID | makeName
------------------------
1 | Ford
2 | Honda


model:
modelID | modelMakeID | makeName
------------------------------------------
1 | 1 | Mondeo
2 | 1 | Kuga
3 | 3 | Civic

the recordset for the first list will return all columns from the make table:
select * from make


in the list, use the makeID for the value, and the makeName for the label

the recordset for the Dynamic array behavior, will return the three columns from the model table.

In the Dynamic array, set the parent ID to the modelMakeID column, use the modelID for the child ID and the makeName column for the Child lable.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...