开发者

Drupal combo box

How开发者_如何学Go do you create a combo box using Drupal Form API (FAPI)?


Since there is no combobox form element you will need to use hook_elements() and a callback to create a custom combobox form element

Check out these docs for an example of how to use hook_elements()

If by combobox you mean a drilldown, check out hierarchical select


Here is another technique for multigroup: http://drupal.org/project/flexifield

But maybe by combo box you wanted this: http://drupal.org/project/select_or_other

If neither of those do it, here is a post about more complex hierarchal options... http://groups.drupal.org/node/23899

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜