Highlighted

populate a dropdown based on what is chosen on another

New Here ,
Apr 30, 2015

Copy link to clipboard

Copied

I have two dropdowns, one for category and the other for sub category. The category dropdown is loaded automatically and the sub category dropdown should be loaded based on what is chosen on the category dropdown. All data is coming from a database table, one is category and the other one is sub category. I am using oracle database. Thanks in advanced.

Views

172

Likes

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

populate a dropdown based on what is chosen on another

New Here ,
Apr 30, 2015

Copy link to clipboard

Copied

I have two dropdowns, one for category and the other for sub category. The category dropdown is loaded automatically and the sub category dropdown should be loaded based on what is chosen on the category dropdown. All data is coming from a database table, one is category and the other one is sub category. I am using oracle database. Thanks in advanced.

Views

173

Likes

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
Apr 30, 2015 0
Advocate ,
May 01, 2015

Copy link to clipboard

Copied

Have you got any code you need help with? I don't think anyone here is going to do all this for you.

Likes

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
Reply
Loading...
May 01, 2015 0
CutterBl LATEST
Participant ,
May 01, 2015

Copy link to clipboard

Copied

You'll probably need to do an ajax call to populate that related select. This post on StackOverflow gives you the basics. No offense to Ben, but ignore his advice on using cfselect (you should avoid the cfform tags if at all possible).

Likes

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
Reply
Loading...
May 01, 2015 0