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.
  • 相关阅读:
    Dropdown 下拉菜单
    Breadcrumb 面包屑
    Tabs 标签页
    NavMenu 导航菜单
    Notification 通知
    MessageBox 弹框
    Message 消息提示
    Loading 加载
    Alert 警告
    Badge 标记
  • 原文地址:https://www.cnblogs.com/davidhhuan/p/1798369.html
Copyright © 2011-2022 走看看