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

dww’s picture

Assigned: Unassigned » dww
Status: Active » Fixed

done. thanks for the report.

dww’s picture

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

Anonymous’s picture

Status: Fixed » Closed (fixed)