Fix for hook_form_alter doesn't modify screen display

  1. function artleagueli_form_alter(&$form, &$form_state, $form_id) {
  2.   switch ($form_id) {
  3.         case 'registration_node_form':
  4.         $form['field_class_name']['#description'] = t('New description');
  5.         $form['field_class_name']['#title'] = t('My title');
  6.         $form['field_class_name']['#default_value'] = t('Default value');
  7.         //dsm($form);
  8.         break;

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.