QF: How to add text to the right of a text field???
| From: | Keith Pettit | Date: | Wed, 13 Jul 2005 16:25:07 +0000 |
| Subject: | QF: How to add text to the right of a text field??? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-19972@lists.php.net to get a copy of this message | ||
This is probally a simple question but I'm trying to figure out how to
add some text to the right of a text field.
$form->addElement('text', 'date_booked', 'Date Booked:');
This form element for example I'd like to add some description to the
right. I've tried using a group with HTML but that just adds the html
to the top.
$booked['html'] = &HTML_QuickForm::createElement('html', null,
'mm/dd/yyyy'); $booked['date'] =
&HTML_QuickForm::createElement('text',
'date_booked', 'Dateooked:');
$form->addGroup($booked, 'booked', 'Date Booked:');
Thanks for any help,
Keith