You are here

function filebrowser_form_delete_confirm_validate in Filebrowser 7.4

Same name and namespace in other branches
  1. 7.3 filebrowser.module \filebrowser_form_delete_confirm_validate()

File delete confirmation form submit

File

./filebrowser.module, line 957

Code

function filebrowser_form_delete_confirm_validate($form, &$form_state) {

  // Check if the confirmation checkbox has been checked.
  if (empty($form_state['values']['confirmation'])) {
    form_set_error('confirmation', t('You must confirm deletion of selected subfolders.'));
  }
}