Closed (fixed)
Project:
Documentation
Component:
Developer Guide
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Nov 2006 at 20:44 UTC
Updated:
11 Dec 2006 at 21:45 UTC
mispelling of a function name in a forms api usage example here: http://drupal.org/node/37194
problem: form_set_error('field.. is mispelled here as form_set_errror(
// quote:
function example_form_id_validate($form_id, $form_values) {
if (!($form_values['field_1'] >= 1 && $form_values['field_1'] <= 2)) {
form_set_errror('field_1', t('Enter a value between 1 and 2 '));
}
}
// end quote
Thanks for the INCREDIBLE WORK the drupal team is putting into this project. I've dumped joomla! entirely beacuse of the strength of the codebase (drupal 4.7) and the well written diocumantation (api.drupal.org). Keep up the good work! We'd (the drupal community) be lost without you!
-Dan Bryant
dbryant@learningchange.com
Comments
Comment #1
dwwdone. thanks for the report.
Comment #2
dwwwhile i was at it, i fixed up the formatting of the code snippets.
Comment #3
(not verified) commented