[documentation] [Documentation bug] documentation error in http://drupal.org/node/37194

dww drupal-docs at drupal.org
Mon Nov 27 21:41:00 UTC 2006


Issue status update for 
http://drupal.org/node/100038
Post a follow up: 
http://drupal.org/project/comments/add/100038

 Project:      Documentation
 Version:      <none>
 Component:    Developer Guide
 Category:     bug reports
 Priority:     normal
 Assigned to:  dww
 Reported by:  dbryant
 Updated by:   dww
 Status:       fixed

while i was at it, i fixed up the formatting of the code snippets.




dww



Previous comments:
------------------------------------------------------------------------

Mon, 27 Nov 2006 20:44:54 +0000 : dbryant

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( 


<?php
 
// 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 at learningchange.com




------------------------------------------------------------------------

Mon, 27 Nov 2006 20:54:21 +0000 : dww

done.  thanks for the report.






More information about the documentation mailing list