function contact_attach_contact_mail_page_validate in Contact Attach 6
Same name and namespace in other branches
- 5 contact_attach.module \contact_attach_contact_mail_page_validate()
Add custom validation to verify the attachments.
Parameters
form: An associative array containing the structure of the form.
form_state: A keyed array containing the current state of the form.
1 string reference to 'contact_attach_contact_mail_page_validate'
- contact_attach_form_alter in ./
contact_attach.module - Implementation of hook_form_alter().
File
- ./
contact_attach.module, line 153 - Allows attaching files to e-mails sent using the site-wide contact form.
Code
function contact_attach_contact_mail_page_validate($form, &$form_state) {
_contact_attach_upload_validate($form, $form_state);
}