--- poll.module 2010-05-06 16:47:12.000000000 -0400 +++ poll-new.module 2010-05-06 16:46:54.000000000 -0400 @@ -318,8 +318,18 @@ function _poll_choice_form($delta, $valu '#maxlength' => 7, '#parents' => array('choice', $delta, 'chvotes'), ); + } + else { + $form['chvotes'] = array( + '#type' => 'textfield', + '#title' => t('Votes for choice @n', array('@n' => ($delta + 1))), + '#value' => $votes, + '#size' => 5, + '#maxlength' => 7, + '#disabled' => 'disabled', + '#parents' => array('choice', $delta, 'chvotes'), + ); } - return $form; }