You will habe to set the src attribute. Thw valur Attribute is used as the value that will be sent via $_POST.

Sent from my iPhone.

Am 27.02.2008 um 11:43 schrieb "Noé Froidevaux" <[EMAIL PROTECTED] m>:

Hi all!

A big thanx for the 1.5RC1!

But, i have a little problem. Why when I set a value to a
Zend_Form_Element_Image, the value passed don't set the src attrib,
it's normal (it was worked in 1.5PR)?

$submit = new Zend_Form_Element_Image('continue');
$submit->setValue('/images/form/button_continue.gif');

-> <input id="continue" type="image" src="" name="continue"/>

Noe

Reply via email to