Appnitro Software Forums » MachForm 2

Show/Hide Dropdowns based on other dropdown selection?


  1. kevgais
    Member

    Hi Guys

    I have a dropdown (li_2) which as 6 options in it. Depending on the option selected I'd like the next dropdown to change it's contents. Now I dont think this can be done so as a work around I'd like to show/hide a number of other dropdowns below.

    I've looked here http://www.appnitro.com/forums/topic/checkbox-to-open-a-second-address-field#post-4455
    and found this code:

    <script>
    $(document).ready(function(){
    $('#li_27').css('display','none');
    $('#li_28').css('display','none');
    $('#li_29').css('display','none');
    $('#element_32_1').click(function(){
    $('#li_27').toggle();
    $('#li_28').toggle();
    $('#li_29').toggle();
    });
    });
    </script>

    which looks like it helps but I have no idea to adapt it to what I need.

    Any ideas?

    Cheers
    Kev

    Posted 2 years ago #
  2. kevgais
    Member

    bump :-)

    Posted 2 years ago #

RSS feed for this topic

Reply