Skip to main content
Participant
April 29, 2008
Question

CFSELECT Help!!

  • April 29, 2008
  • 1 reply
  • 322 views
Hi,

I am working on a project that has a cfform and in this form I have 2 cfselect drop downs. What I would like to do is depending upon the selected value of the first cfselect I only want to populate the second cfselect with a certain few values. So if I have a combo box that has a list of countries and when you select that country the second combo box populates the states for that country only with out reloading the page. Also my combo box are populated from a database and not hard coded. I do have all the needed primary keys and foreign keys.

Any assistance would be greatly appreciated or pointing me in the right direction.

This topic has been closed for replies.

1 reply

Inspiring
April 29, 2008
There's a custom tag out there that some people use. I had to do it once, and it went something like this:
http://www.pathcom.com/~bracuk/code/RelatedSelects.htm

This is a frequently asked question, hence the re-useable answer.