$elements[] = &$this->createElement('radio', NULL, '', ts('Include my name and message'), 0, $extraOption);
$elements[] = &$this->createElement('radio', NULL, '', ts('List my contribution anonymously'), 1, $extraOption);
$this->addGroup($elements, 'pcp_is_anonymous', NULL, ' ');
- $this->setDefaults(array('pcp_display_in_roll' => 1));
- $this->setDefaults(array('pcp_is_anonymous' => 1));
$this->add('text', 'pcp_roll_nickname', ts('Name'), array('maxlength' => 30));
$this->add('textarea', 'pcp_personal_note', ts('Personal Note'), array('style' => 'height: 3em; width: 40em;'));