function MECON_HTML_QuickFormSimple($formName='', $method='post', $action='', $target='_self', $attributes=null)
{
parent::HTML_QuickForm($formName, $method, $action, $target, $attributes);
- $this->registerElementType('mdate', 'MECON/HTML/QuickForm/mdate.php', 'HTML_QuickForm_mdate');
- $this->registerRule('fecha', 'function', 'validate', 'HTML_QuickForm_mdate');
+ $this->registerElementType('mdate', 'MECON/HTML/QuickForm/mdate.php', 'MECON_HTML_QuickForm_mdate');
+ $this->registerRule('fecha', 'function', 'validate', 'MECON_HTML_QuickForm_mdate');
+ $this->registerElementType('caritas', 'MECON/HTML/QuickForm/caritas.php', 'MECON_HTML_QuickForm_caritas');
$this->setRequiredNote('<font color="red">*</font> indica un campo obligatorio');
$this->setJsWarnings('Hay errores en el formulario:', 'Por favor corrÃjalos antes de continuar.');
}