You are here

function signup_form_validate_anon in Signup 5.2

Same name and namespace in other branches
  1. 6.2 includes/signup_form.inc \signup_form_validate_anon()
  2. 6 includes/signup_form.inc \signup_form_validate_anon()
  3. 7 includes/signup_form.inc \signup_form_validate_anon()

Validates the email address on the anonymous user signup form.

Parameters

$form: Form array for the anonymous user email field.

$nid: Node id of the node the user is trying to signup for.

File

./signup.module, line 585
The Signup module (http://drupal.org/project/signup) manages replies to nodes. In particular, it's good for event management. Signup supports sending reminder emails and automatically closing signups for nodes with a start time, via the Event…

Code

function signup_form_validate_anon($form, $nid) {
  signup_validate_anon_email($nid, $form['#value'], 'signup_anon_mail');
}