You are here

function maxlength_help in Maxlength 7.3

Same name and namespace in other branches
  1. 8 maxlength.module \maxlength_help()
  2. 5.2 maxlength.module \maxlength_help()
  3. 5 maxlength.module \maxlength_help()
  4. 6.2 maxlength.module \maxlength_help()
  5. 6 maxlength.module \maxlength_help()
  6. 7 maxlength.module \maxlength_help()
  7. 7.2 maxlength.module \maxlength_help()

Implements hook_help().

File

./maxlength.module, line 13
Limit the number of characters in textfields and textareas and shows the amount of characters left.

Code

function maxlength_help($path, $arg) {
  switch ($path) {
    case 'admin/help#maxlength':
      $output = '<p>' . t('Maxlength creates a new Form Property: #maxlength_js which in conjunction with #maxlength will enforce, via JavaScript, the maxlength of a textfield or textarea and will show the number of characters left.') . '</p>';
      $output .= '<p>' . t('Using the field setting page, you can limit textfields and textareas. For textfields this module will use the "<strong>Maximum length</strong>" value set in the <strong>field settings</strong>.') . '</p>';
      return $output;
  }
}