You are here

function _print_epub_settings_validate in Printer, email and PDF versions 7.2

Form validation handler for print_epub_settings().

See also

print_epub_settings()

1 string reference to '_print_epub_settings_validate'
print_epub_settings in print_epub/print_epub.admin.inc
Form constructor for the EPUB version module settings form.

File

print_epub/print_epub.admin.inc, line 106
Contains the administrative functions of the EPUB version module.

Code

function _print_epub_settings_validate($form, &$form_state) {
  if (empty($form_state['values']['print_epub_epub_tool'])) {
    form_set_error('print_epub_epub_tool', t("No EPUB tool selected"));
  }
}