1 Reply Latest reply on Aug 8, 2006 1:28 PM by Newsgroup_User

    Display/hide table rows

    Level 7
      I have a table with 5 rows
      Table is inside a form

      first item in the form has a drop down menu, the rest are form fields

      I want to display the table rows of the other fields ONLY if selection from
      the drop down menu = 3 (Could be 1,2,3,4,5). If user selects 1 nothing
      happens, if they select 3 then the other fields should be displayed, if they
      again select 2 then they should be hidden again.

      How can this be done ?

      Aleks


        • 1. Re: Display/hide table rows
          Level 7
          You can get something like Toggle-O-Matic from
          http://www.dwfaq.com/store/detail/?id=DWfaqToggle , or, if you're used to
          some type of server-side coding, you can do it with some else/if statements.

          --
          Extending Knowledge, Daily
          http://www.communityMX.com/
          CommunityMX - Free Resources:
          http://www.communitymx.com/free.cfm

          No registration req'd for free content
          "Alejandro" <arkark2004@hotmail.com> wrote in message
          news:ebarme$510$1@forums.macromedia.com...
          > I have a table with 5 rows
          > Table is inside a form
          >
          > first item in the form has a drop down menu, the rest are form fields
          >
          > I want to display the table rows of the other fields ONLY if selection
          from
          > the drop down menu = 3 (Could be 1,2,3,4,5). If user selects 1 nothing
          > happens, if they select 3 then the other fields should be displayed, if
          they
          > again select 2 then they should be hidden again.
          >
          > How can this be done ?
          >
          > Aleks
          >
          >