API.txt |
API.txt |
|
# Custom Integration
The maxlength counter can be added to forms in your own module or another.
At its simplest, the API for a form textfield or textarea requires adding the
following to your form element in a form builder or hook_form_alter():
… |
CREDITS.txt |
CREDITS.txt |
|
1.x was written by Mariuss and inspired by functionality found in the ed_classified module.
2.x has been written by a_c_m and dereine, from the 1.x codebase. |
maxlength.inc |
maxlength.inc |
|
Business logic for maxlength |
maxlength.info |
maxlength.info |
|
name = "Maxlength"
description = "Set a maximum length for body fields."
core = 6.x |
maxlength.install |
maxlength.install |
|
Install file for the maxlenght module |
maxlength.module |
maxlength.module |
|
Enables a max length countdown on node body, title and CCK textfields. |
README.txt |
README.txt |
|
This module allows administrators to set maximum lengths for the body
fields of content types, as well as activating a Java Script count down
for CCK text fields.
Maximum size for the body and title are on the content type's edit page.
Enabling… |