Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Raghav 34 posts 103 karma points
    Feb 03, 2015 @ 16:25
    Raghav
    0

    Hooking up prevalues of one dropdown to another

    Hi,

    The scenario is this

    1) I have custom data type (may be dropdown) which has list of programs as pre values

    2) I have another data type ( may be dropdown) which has list of specializations as pre values

     

    Now when we create a school content type , the user can select one or more programs and for each of those programs he can select specializations (none or many as applicable for that program).

    So first thing I see is there should be some way of linking datatype 1 and 2 for filling prevalues.  How to achieve that.

    Also I am wondering if the dropdown would be an option since I need to know while creating school content type, which all specialization has been selected for which program

    Regards

    Raghav

     

     

     

     

     

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Feb 03, 2015 @ 18:05
    Jeroen Breuer
    0

    Hello,

    The only way to do this is to create 1 datatype that has 2 dropdowns. In AngularJS you can let the second dropdown populate based in the first dropdown. There is no other way to do this.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft