function zopim_admin_settings_form_validate in Zopim Live Chat 6
Same name and namespace in other branches
- 6.2 includes/zopim-account.admin.inc \zopim_admin_settings_form_validate()
- 6.2 includes/zopim-customize.admin.inc \zopim_admin_settings_form_validate()
- 6.2 includes/zopim-visibility.admin.inc \zopim_admin_settings_form_validate()
- 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.'));
}
}