Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <label data-toggle="collapse" data-target="#collapseOne">
- <input type="checkbox"/> I have Driver License
- </label>
- $form['field_licence'] = array(
- '#type' => 'checkbox', //you can find a list of available types in the form api
- '#title'=> t('I have Driver License.'),
- '#required' => TRUE, //make this field required
- '#label' => array('class' => array('My-CLASS') ), / doesn't work either
- );
Add Comment
Please, Sign In to add comment