Can anyone help me to prevent displaying label for check boxes.

Now in webforms check boxes are displayed as follows
label: (check box) (options)

But I want only display check box and option values
(check box) (options)

Please help me to do this

Comments

effulgentsia’s picture

Project: WhatWG Forms » Webform
Version: 5.x-1.x-dev » 6.x-2.7

This got filed to the wrong issue queue. I'm moving it to the webform issue queue. Hopefully someone there will be able to answer this.

quicksketch’s picture

The only way to do this is through theming currently. See the THEMING.txt file included with Webform. You'll probably just want to unset the title of the element like:

unset($form['submitted']['element_name']['#title']);
quicksketch’s picture

Status: Active » Closed (fixed)

Also of interest: #264181: Creating a single checkbox. Closing this issue.