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

CF/AJAX Cascading Dropdowns

New Here ,
Mar 04, 2009 Mar 04, 2009
Hi,
I FINALLY got the CF/AJAX/related dropdowns to work! We used the CFC's to return an array where the first dimention was the "value" and the 2nd was the discription (as indicated by Forta).

Now.....If I process the selection and determine an error condition (say it was previously added to the cart), How do I return the page marking the selected 2nd dropdown as "selected" as I am not building this explicity - only passing an array from the bound CFC?

Note sure if I am making myself clear?

Thanks in advance,
Hefterr
648
Translate
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
LEGEND ,
Mar 04, 2009 Mar 04, 2009
cfselect has a selected attribute. You simply need to find a way to use it.
Translate
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
New Here ,
Mar 05, 2009 Mar 05, 2009
LATEST
Dan,
Thanks for responding. The problem is that I'm not actually building the <option....> statements as part of the list. This is being down by the data passed to CF/AJAX and it only allows for a value/descritpion (I thik)

Rich
Translate
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