]> git.llucax.com Git - mecon/meconlib.git/blobdiff - lib/MECON/HTML/QuickFormSimple.php
Bugfix.
[mecon/meconlib.git] / lib / MECON / HTML / QuickFormSimple.php
index fb94486fe266595957b8eca6760d74f15ec2d7bd..f5ab77b81a89533933fa06f22290954a084c1fa5 100644 (file)
@@ -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('<font color="red">*</font> indica un campo obligatorio');
         $this->setJsWarnings('Hay errores en el formulario:', 'Por favor corríjalos antes de continuar.');
     }