I need to add an "Accept terms and conditions" checkbox onto a user registration form. What is the best way to do this?
Also, it seems odd to me that there is no easy way to use radio buttons nor checkboxes on the User Registration form at admin/config/people/accounts/fields. Select lists are awkward, especially for multi-select lists on a mobile device.
Is there a way to output the list fields as radio buttons and checkboxes?
'#required' => TRUE
'#type' => 'checkbox'
element.