You are here

function zopim_admin_settings_form_validate in Zopim Live Chat 6

Same name and namespace in other branches
  1. 6.2 includes/zopim-account.admin.inc \zopim_admin_settings_form_validate()
  2. 6.2 includes/zopim-customize.admin.inc \zopim_admin_settings_form_validate()
  3. 6.2 includes/zopim-visibility.admin.inc \zopim_admin_settings_form_validate()
  4. 7 zopim.admin.inc \zopim_admin_settings_form_validate()

File

./zopim.admin.inc, line 96
Administrative page callbacks for the zopim module.

Code

function zopim_admin_settings_form_validate($form, &$form_state) {
  if (empty($form_state['values']['zopim_account'])) {
    form_set_error('zopim_account', t('A valid Zopim account number is needed.'));
  }
}