zoukankan      html  css  js  c++  java
  • [Drupal] Creating Checkboxes, Radio Buttons, or Select Lists

    Creating radio buttons, checkboxes, and select lists is a little tricky in Webform, since they're all part of the "select" component type. To create these types, follow the instructions below for the type of element you are trying to create.

    • Select list (single selection) - choose the SELECT type, enter the values and label, and make sure LIST is checked (on).
    • Select list (multiple selection) - choose the SELECT type, enter the values and label, then choose the MULTIPLE advanced setting, and make sure LIST is checked (on).
    • Checkbox - choose the SELECT type, enter the value and label, then choose the MULTIPLE advanced setting (even if you just want one checkbox to appear), and make sure LIST is not on.
    • Checkboxes (multiple) - choose the SELECT type, enter the values and label, then choose the MULTIPLE advanced setting, and make sure LIST is not on.
    • Radio buttons - choose the SELECT type, enter the values and label. Make sure both the MULTIPLE advanced setting and LIST settings are not on.
  • 相关阅读:
    Python学习笔记5
    Python字符串的encode与decode
    python代码`if not x:` 和`if x is not None:`和`if not x is None:`
    关于sys.argv
    Python学习笔记4
    Python学习笔记3
    Python学习笔记2
    生产者消费者_测试
    进程管理
    软件包管理
  • 原文地址:https://www.cnblogs.com/davidhhuan/p/1798369.html
Copyright © 2011-2022 走看看