XHTML Web Agent scroll list using Macromedia Dreamweaver

Posted on 2007-07-26
Last Modified: 2013-11-19
In using XHTML through Macromedia Dreamweaver, I have a scroll llist field (field a) which has choices, and another scroll list field (field b) which also has choices but depending on the choice that I would make in scroll list (field a). How do I create the option list for scroll list (field b) to show only particular choices that is applicable when I chose one in scroll list (field a)?

Example : I have choices Man, Woman, Child in scroll list (field a), if the user chose Man in scroll list (field a), the user can only see choices in scroll list (field b) either Hat, Neck Tie and Shoes, and if the user chose Woman in scroll list (field b), the user can only see choices in scroll list (field b) either Hair Clip, Long Gown and Sandals while if the user chose Child in scroll list (field a), the user can only see choices in scroll list (field b) either Mittens, Baby Shoes and Baby Socks?
Question by:rrollinsny
    LVL 70

    Expert Comment

    by:Jason C. Levine
    This is called "Dependent drop downs" and you need to use some form of scripting to control how the second and third boxes are limited.

    Googling for dependent drop down and the scripting language of your choice will produce tons of results.

    There is no built-in behavior in DW 8 and below to generate these.  However, there is a Spry widget in DW CS3.
    LVL 25

    Accepted Solution


    Author Closing Comment

    Thank you.  THis helped me get to where I needed to be.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Suggested Solutions

    Preface In the first article: A Better Website Login System ( I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
    Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
    Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now