1 Reply Latest reply on May 21, 2008 2:49 AM by Günter Schenk

    Dependent drop down or not?

      Hi all,
      I don't know how to solve my problem:

      I need to create an insert form that contains two particular fields.

      These two fields are related.
      The relation is 1:1.

      example:

      CODE ITEM
      0001 item1
      0002 item2
      0003 item3
      ... ...

      I can imagine that the best way to display them is a dropdown menu
      (but I can be (easily) wrong).

      When I select an item from the first dropdown menu, the related item
      in the second dropdown menu will be selected.

      When I select an item on the second dropdown menu, the related item in
      the first dwropdown menu will be selected.

      How can I do this on a MX Kollection Insert record form?

      Would be nice to have two select box: one contaning all CODES and one
      containing all ITEMS. Selecting a code from the first box an item will
      be selected on the second box and vice versa.

      Something "similar" to the dropdown menu example provided by interakt
      in MX Kollection.

      Any idea?

      TIA

      tony
        • 1. Re: Dependent drop down or not?
          Günter Schenk Level 4
          Hi Tony,

          -----
          When I select an item on the second dropdown menu, the related item in
          the first dwropdown menu will be selected
          -----

          dependant dropdown menus (not just ADDT ones) don´t work this way, as both menus have a sort of "master/slave" relation, where the first one (the "master") passes some information to the second menu (the "slave"), but - after passing the "dependant" array of information to the slave - is technically not aware of what option you selected in the 2nd menu.

          What you´re looking for, is a sort of bi-directional data flow between two menus which may both act as "master" and "slave", and that´s something what ADDT´s (and others, I have never seen that elsewhere) dependant menus can´t do.

          Cheers,
          Günter Schenk
          Adobe Community Expert, Dreamweaver