You are here

function sheetnode_import_template_validate in Sheetnode 7.2

Same name and namespace in other branches
  1. 5 sheetnode.module \sheetnode_import_template_validate()
  2. 6 sheetnode.module \sheetnode_import_template_validate()
  3. 7 sheetnode.module \sheetnode_import_template_validate()

Validate function for sheetnode_import_template form.

File

./sheetnode.module, line 545
Module file for the sheetnode module.

Code

function sheetnode_import_template_validate($form, &$form_state) {
  if (!$form_state['values']['template']) {
    form_set_error('template', t('Please select a template.'));
  }
}