You are here

function lingotek_setup_new_account_form_validate in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lingotek.setup.inc \lingotek_setup_new_account_form_validate()
  2. 7.2 lingotek.setup.inc \lingotek_setup_new_account_form_validate()
  3. 7.3 lingotek.setup.inc \lingotek_setup_new_account_form_validate()
  4. 7.4 lingotek.setup.inc \lingotek_setup_new_account_form_validate()
  5. 7.5 lingotek.setup.inc \lingotek_setup_new_account_form_validate()

New Account - Form Validator

File

./lingotek.setup.inc, line 86

Code

function lingotek_setup_new_account_form_validate($form, &$form_state) {
  if (!valid_email_address($form_state['values']['email'])) {
    form_set_error('', t('You must enter a valid Email address.'));
  }
}