1 install.core.inc install_configure_form_validate($form, &$form_state)

Form validation handler for install_configure_form().

See also

install_configure_form_submit()

File

core/includes/install.core.inc, line 1930
API functions for installing Backdrop.

Code

function install_configure_form_validate($form, &$form_state) {
  if ($error = user_validate_name($form_state['values']['account']['name'])) {
    form_error($form['admin_account']['account']['name'], $error);
  }
}