You are here

function autoassignrole_settings_validate in Auto Assign Role 5.2

File

./autoassignrole.module, line 31

Code

function autoassignrole_settings_validate($node, &$form) {
  if (strlen(trim($form['AUTOASSIGNROLE_ROLE_USER_TITLE'])) == 0) {
    form_set_error('AUTOASSIGNROLE_ROLE_USER_TITLE', t('Enter the title of the form fields the user will be presented with.'));
  }
}