$this->registerRule('amount', 'callback', 'money', 'CRM_Utils_Rule');
$this->addRule('amount', ts('Please enter a monetary value for this field.'), 'money');
+ $this->add('text', 'non_deductible_amount', ts('Non-deductible Amount'), NULL);
+ $this->registerRule('non_deductible_amount', 'callback', 'money', 'CRM_Utils_Rule');
+ $this->addRule('non_deductible_amount', ts('Please enter a monetary value for this field.'), 'money');
+
$this->add('textarea', 'description', ts('Description'));
$this->add('textarea', 'help_pre', ts('Pre Option Help'));
$this->add('textarea', 'help_post', ts('Post Option Help'));