*/
class MECON_HTML_QuickForm extends HTML_QuickForm {
var $_rendererOpts = array();
- function MECON_HTML_QuickForm($formName='', $method='post', $action='', $target='_self', $attributes=null)
+ function MECON_HTML_QuickForm($action='', $formName='', $target='_self', $method='post', $attributes=null)
{
parent::HTML_QuickForm($formName, $method, $action, $target, $attributes);
$this->registerElementType('mdate', 'MECON/HTML/QuickForm/mdate.php', 'HTML_QuickForm_mdate');
require_once 'MECON/HTML/QuickForm.php';
- $form = new MECON_HTML_QuickForm('test');
+ $form = new MECON_HTML_QuickForm();
//Agrega los elementos comunes a todas las opciones
$form->addElement('header','cabecera', 'Título del formulario');