Code:
function hook_form_contact_site_form_alter(&$form, &$form_state, $form_id ) {
$form['subject']['#access'] = FALSE;
// make the e-mailfield HTML5 (type="email")
// dependancy: elements module
$form['email']['#type'] = 'emailfield';
}
Project:
Type:
Reactie toevoegen