X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/15c32314cf6a6eadf7d2d24ff2827c3db9bd8950..4a71fb9feda4277f1755ed095b3f74d9e5eacb4e:/lib/MECON/HTML/QuickFormSimple.php?ds=inline diff --git a/lib/MECON/HTML/QuickFormSimple.php b/lib/MECON/HTML/QuickFormSimple.php index fb94486..f5ab77b 100644 --- a/lib/MECON/HTML/QuickFormSimple.php +++ b/lib/MECON/HTML/QuickFormSimple.php @@ -34,8 +34,9 @@ class MECON_HTML_QuickFormSimple extends HTML_QuickForm { 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('* indica un campo obligatorio'); $this->setJsWarnings('Hay errores en el formulario:', 'Por favor corríjalos antes de continuar.'); }