You are here

function sheetnode_import_template_validate in Sheetnode 5

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

File

./sheetnode.module, line 323

Code

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