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

dbryant drupal-docs at drupal.org
Mon Nov 27 20:44:54 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:  Anonymous
 Reported by:  dbryant
 Updated by:   dbryant
 Status:       active

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




dbryant



More information about the documentation mailing list