Forums

How to set default value in secondary conditional field

wibadd 14 Feb, 2015
I've used this How To to build a dynamic drop down, and it is working once a value is changed and selected in the primary field http://www.chronoengine.com/faqs/70-cfv5/5232-how-do-i-build-a-dynamic-drop-down-in-cfv5.html. The issue is that I cannot figure out how to set the default value and get the options loaded in the secondary/conditional field based on the default value being set in the primary field.

For example, I set "USA" as the default country value and have events to load a state list. In the state field, I have it set to Wisconsin. However, it is not loading until I change USA to another value, then select USA again. There must be an easy answer to this, I'm just not sure what it is.
This topic is locked and no more replies can be posted.