简体   繁体   中英

How to Webform fields in table format in drupal7

我想以表格格式显示webform字段,如何在drupal 7中做到这一点。

You'll need to override the theme with a hook_theme_registry_alter .

Though I would actually recommend just doing this with css. Webform will have all the classes necessary outputted by default. You can just set a width and float labels left and field right and clear on each form item.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM