You are here

function _validate_nfs_title_edit in Node and Comments Form Settings 6.2

Same name and namespace in other branches
  1. 7.2 includes/validate_nfs_title_edit.inc \_validate_nfs_title_edit()

Hide the Revision log field

File

includes/validate_nfs_title_edit.inc, line 6

Code

function _validate_nfs_title_edit($form, &$form_state) {
  if ($form_state['values']['nfs_title_edit'] == '') {
    form_set_error('nfs_title_edit', t("<em>Page title when editing a node</em> cannot be empty"));
  }
}