silence
Well-known member
SO! I'm extending Merc's donation manager, and everything is working so far, except one astetic thing:
The text field that I'm inputting info isn't being populated with the information currently stored in the db. If I write something and save, it populates the database just fine! It just doesn't show that info.
The only thing I THINK is causing it is some issue with _getFields():
The text field that I'm inputting info isn't being populated with the information currently stored in the db. If I write something and save, it populates the database just fine! It just doesn't show that info.
The only thing I THINK is causing it is some issue with _getFields():
PHP:
protected function _getFields()
{
$fields = parent::_getFields();
$fields['merc_goal']['merc_callback_class'] = array(
'type' => self::TYPE_STRING,
'required' => false,
'default' => '',
'maxLength' => 250,
'requiredError' => 'please_enter_valid_callback_class'
);
$fields['merc_goal']['merc_callback_method'] = array(
'type' => self::TYPE_STRING,
'required' => false,
'default' => '',
'maxLength' => 250,
'requiredError' => 'please_enter_valid_callback_method'
);
return $fields;
}