[英]Load list dynamically in drupal 7 based on the value selected in another list
Being new to drupal 7 I have the following requirement I have a business dropdown (list in drupal) based on the selected item in that business list the other list having user should be populated and also there is one more list branches which is in fields collection should also be loaded based on the value selected in the business dropdown. 作为drupal 7的新手,我有以下要求我有一个业务下拉列表(drupal中的列表),基于该业务列表中的所选项目,应该填充另一个有用户的列表,还有一个列表分支在字段集合中还应根据业务下拉列表中选择的值加载。
Thanks in advance 提前致谢
Try Hierarchical Select module. 尝试分层选择模块。
This module defines the "hierarchical_select" form element, which is a greatly enhanced way for letting the user select items in a hierarchy. 此模块定义“hierarchical_select”表单元素,这是让用户选择层次结构中的项目的一种极大增强的方式。
Update 更新
Another option Simple hierarchical select 另一种选择简单分层选择
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.