QuickForm - Creating "real" buttons!
| From: | Tommy Ipsen | Date: | Fri, 16 Apr 2004 12:09:06 +0000 |
| Subject: | QuickForm - Creating "real" buttons! | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-11910@lists.php.net to get a copy of this message | ||
Hi
If I want to create the following form using HTML_QuickForm - how should I do it?
<form>
<button name="test2" type="button" value="0">Before</button>
</form>
If I use the button element type I end up with this:
<form>
<input name="test1" type="button" value="Before">
</form>
Which is not what I want - I need the value (0) from the real button element as well as the possibility of putting an image between the <button> tags!
Hope you can help me!
Cheers,
Tommy Ipsen