You are here

function lockr_admin_request_validate in Lockr 7

Validate the certificate request form.

1 string reference to 'lockr_admin_request_validate'
lockr_admin_request_form in include/request_form.inc
Returns the certificate request form.

File

include/request_form.inc, line 37
Form handlers for the certificate request form.

Code

function lockr_admin_request_validate($form, &$form_state) {
  if (!valid_email_address($form_state['values']['email'])) {
    form_set_error('email', t('Please enter a valid email address'));
  }
}