Guest User

Untitled

a guest
Feb 18th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. <label data-toggle="collapse" data-target="#collapseOne">
  2. <input type="checkbox"/> I have Driver License
  3. </label>
  4.  
  5. $form['field_licence'] = array(
  6. '#type' => 'checkbox', //you can find a list of available types in the form api
  7. '#title'=> t('I have Driver License.'),
  8. '#required' => TRUE, //make this field required
  9. '#label' => array('class' => array('My-CLASS') ), / doesn't work either
  10. );
Add Comment
Please, Sign In to add comment