简体   繁体   English

根据在另一个列表中选择的值,在drupal 7中动态加载列表

[英]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. 尝试分层选择模块。

Demos . 演示

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.

相关问题 根据另一个列表框值将值列表加载到列表框 - load list of values to the listbox based on another listbox value 如何基于另一个列表中的选定值从下拉列表中选择默认值 - How to select a default value from a dropdown list based on selected value from another list 如何根据从Symfony2中的另一个列表中选择的值从一个选择列表中获取值? - How to get a value from one select list based on value selected from another list in Symfony2? 根据列表中选择的内容设置复选框的值 - Setting the value of a checkbox based on what is selected in a list 根据第一个列表的选定值填充下拉列表 - populating the drop down list based on the selected value of first list 如何根据我的PHP代码中上一个列表中的另一个选定值检索数据以显示下拉列表 - How to retrieve data to display drop down list based on another selected value from the previous list in my PHP code 使用 jQuery 从动态创建的项目中获取选定的列表值 - using jQuery get the selected list value from dynamically created item 从wpdb查询后,动态设置选择列表的选择值 - Dynamically setting the selected value of a select list, after querying from the wpdb 如何基于多行的前一个列表的选择动态加载dropdownlist - how to dynamically load dropdownlist based on selection of a previous list with multiple lines 根据数据列表选择的值更改文本框值 - PHP - Change Text box value based on Data list selected value - PHP
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM