QuickForm: How do I append a comment/note
| From: | Alain Williams | Date: | Fri, 28 Nov 2003 13:08:01 +0000 |
| Subject: | QuickForm: How do I append a comment/note | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9204@lists.php.net to get a copy of this message | ||
I am building a form with QuickForm. I want to append to the right hand side of the entry field
a few words to quide the user that is completing the form. So I have:
$form->addElement('text', 'Branch', 'Branch', $Branch,
array('size' => 4, 'maxlength' => 4));
I would like to do something like:
$form->addGuidance('Branch', 'This is the branch that you will
update');
OK, addGuidance does not exist, is there some other way of doing what I want ?
Many thanks
--
Alain Williams
#include <std_disclaimer.h>
FATHERS-4-JUSTICE - Campaigning for equal rights for parents and the
best interests of our children. See http://www.fathers-4-justice.org