You are here

function contact_attach_contact_mail_user_validate in Contact Attach 6

Same name and namespace in other branches
  1. 5 contact_attach.module \contact_attach_contact_mail_user_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_user_validate'
contact_attach_form_alter in ./contact_attach.module
Implementation of hook_form_alter().

File

./contact_attach.module, line 221
Allows attaching files to e-mails sent using the site-wide contact form.

Code

function contact_attach_contact_mail_user_validate($form, &$form_state) {
  _contact_attach_upload_validate($form, $form_state);
}