开发者

Optional CCK fields

  1. Is the开发者_开发知识库re a module in Drupal to enable or not a text field or more in general a CCK field? For example a check box option: when this is checked a textfield appears below, otherwise it is not visible.

  2. Is there a module to switch between 2 CCK fields? For example I have 2 text areas, and I can only fill one (the others should be automatically disabled). The user can decide which one to enable with a radio button or by checking a check box.

thanks


Although I haven't used it extensively, the Conditional Fields module seems like it might do what you want.

Otherwise, you can check into using the Form API's #ahah parameter to roll your own.

Hope that helps!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜