[documentation] [bug] documentation for forms api #valid
dopry
drupal-docs at drupal.org
Mon Dec 19 09:25:34 UTC 2005
Issue status update for
http://drupal.org/node/41681
Post a follow up:
http://drupal.org/project/comments/add/41681
Project: Documentation
Version: <none>
Component: Developer Guide
Category: bug reports
Priority: critical
Assigned to: Anonymous
Reported by: dopry
Updated by: dopry
-Status: active
+Status: fixed
Attachment: http://drupal.org/files/issues/forms_api_reference_validate.patch (6.02 KB)
on chx's advice.. I went ahead and updated the docs.
dopry
Previous comments:
------------------------------------------------------------------------
Mon, 19 Dec 2005 08:41:22 +0000 : dopry
http://drupaldocs.org/api/head/file/contributions/docs/developer/topics/forms_api_reference.html
#valid doesn't exist... its #validate....
its format is
#validate => array('example_validate' => array()),
The keys to the array are callbacks... I don't know what the values
are, haven't played with them yet.
More information about the documentation
mailing list