1 Reply Latest reply on Jun 14, 2010 2:25 PM by idesdema

    Related select inside a cfdiv

    idesdema Level 1

      I want to put a related select inside a cfdiv page.

       

      I use the related select code in my app successfully in other cfforms but I am having trouble getting it to work.

       

      Here's the code I want to have inside the cfc...

       

      <cfselect name="states" bind="cfc:select.get_states()" bindonload="true">

      <cfselect name="cities" bind="cfc:select.get_cities({states})" bindonload="false">

       

      It works fine if I run that code outside of the cfdiv file, but for some reason when its a part of the page "city_state.cfm" that is called by a cfdiv it generates a bind failed, element not found error.