• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Multiple Related Selects

Contributor ,
Oct 29, 2007 Oct 29, 2007

Copy link to clipboard

Copied

I'm trying to create three related select boxes. I want the user to make a selection in box one, and then display data in box two based upon their selection from box one, etc. I don't want the page to refresh. I'm on ColdFusion 7. Here's the code I'm trying, but I can't get data into box two or three. Any suggestions?

TOPICS
Advanced techniques

Views

358

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Contributor , Oct 29, 2007 Oct 29, 2007
CF_ThreeSelectsRelated is AWESOME! Works Great. Does exactly what I needed.

http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1000298

Votes

Translate

Translate
Guest
Oct 29, 2007 Oct 29, 2007

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 29, 2007 Oct 29, 2007

Copy link to clipboard

Copied

Those are nice and work good, but the values are hard coded. I'm strugging with how to fill the values from the database AND make the selects dependent upon each other. Do you know where there's a sample that has the array populated from database values?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 29, 2007 Oct 29, 2007

Copy link to clipboard

Copied

CF_ThreeSelectsRelated is AWESOME! Works Great. Does exactly what I needed.

http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1000298

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 29, 2007 Oct 29, 2007

Copy link to clipboard

Copied

LATEST
You can download Xin Yang's JavaScripts from http://www.dynamicdrive.com/ and dynamically populate the exampleconfig2.js from a CFQUERY. Yang's code may be overkill, but it is a classic in the world of JavaScript.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation