You are here

function legal_administration_validate in Legal 5

Same name and namespace in other branches
  1. 6.8 legal.admin.inc \legal_administration_validate()
  2. 6.7 legal.module \legal_administration_validate()

File

./legal.module, line 291

Code

function legal_administration_validate($form_id, $form_values) {
  if (empty($form_values['conditions'])) {
    form_set_error('conditions', t('Terms & Conditions must be entered.'));
  }
  return;
}