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

Dynamic dependent list boxes

New Here ,
Jan 02, 2008 Jan 02, 2008
Hi - I'm using a set of dynamic dependent list boxes where the choices in the second are filtered according to the selection made in the first. I've followed the tutorial here:

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14924&sliceId=2

It's all working fine, but I'd like to amend it so that the second list box includes an option to select ALL options - equivalent to <option value="%">Choose all</option>. Not sure how to edit the JavaScript to do this though and very grateful if anyone can help!

Thanks

Square Eye
TOPICS
Server side applications
414
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
Enthusiast ,
Jan 07, 2008 Jan 07, 2008
LATEST
Are you using Spry? If its not xml you can use dsFiles.setDataFromDoc(Spry.Utils.stringToXMLDoc(xmlstr)); to make a dataset from a string created from your db. I have a site with two pages that use two drop downs- the first gives the options to the second which filters the data.Enter data if you want its all test input.
The source code shows how to do it. Check the tran_types.xml file to see how i change the xpath for each menu selection.
http://www.gohbcc.com/balances/index.php
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