QuickForm_image
| From: | Mos | Date: | Wed, 13 Oct 2004 07:34:36 +0000 |
| Subject: | QuickForm_image | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14891@lists.php.net to get a copy of this message | ||
Hi there !
1/ Does anybody know the syntax for HTML_QuickForm_image class ?
I mean how to use it in a form ?
$form->addElement('image', // type of element
"answer2[$key]", // name of the
element
'./images/answer.png', //image source of
the element
'',
'');
Which are the others parameters available (I set 2 others in the example,
but I don't know if it is right or not)
2/ Is there a parmeter to pass a link with this element (in a array as
attribute ?)
Thanks
Mos