You are here

function fonts_com_setup_form_validate in @font-your-face 7.2

Validates account settings form.

File

modules/fonts_com/fonts_com.module, line 397

Code

function fonts_com_setup_form_validate($form, &$form_state) {
  if ($form_state['input']['op'] == t('Create Account')) {
    if ($form_state['values']['fonts_com_email'] == '') {
      form_set_error('fonts_com_email', t('Email address required.'));
    }

    // if
  }

  // if
}