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
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.
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
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
is working on a reply...