function signup_form_validate in Signup 5
Validates the user signup form
Parameters
$form_id The ID of the form being submitted.:
$form_values The constructed form values array of the submitted form.:
Related topics
File
- ./
signup.module, line 429
Code
function signup_form_validate($form_id, $form_values) {
// If it's an anonymous signup...
$anon_mail = $form_values['signup_anon_mail'] ? trim($form_values['signup_anon_mail']) : '';
if ($anon_mail) {
signup_validate_anon_email($form_values['nid'], $anon_mail, 'signup_anon_mail');
}
}