Re: Quickform: static type needs colspan

From: Date: Wed, 26 Feb 2003 18:53:19 +0000
Subject: Re: Quickform: static type needs colspan
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3981@lists.php.net to get a copy of this message
$reason set above based on reason for not logging in... I'm using in conjunction with PEAR::Auth $form = new HTML_Quickform('login'); $reason = '<div style="color: red">' . $reason . '</div>'; $form->addElement('static', null, $reason); $form->addElement('text', 'username', 'Username:', $username); $form->addElement('password', 'password', 'Password:'); $form->addRule('username', 'Username is required', 'required'); $form->addRule('password', 'Password is required', 'required'); $form->addElement('submit', 'submit', 'Submit'); -Dan Quoting Bertrand Mansion <bmansion@mamasam.com>: > <dan@acucore.com> wrote : > > > The new static type is great, but it doesn't have a colspan... it only > appears > > in the first column with the element labels. > > > > That's no good because it pushes everything over. > > > > Is there any way I can change a template or something to make that colspan? > > Could you send your code so I can make some tests ? > Thanks, > > Bertrand Mansion > Mamasam > >

« previous php.pear.general (#3981) next »