From: Mark Steudel on
I have the following form:

$form = new HTML_QuickForm( 'test' );

// outputs <input name="imageField" type="image" src="test.gif" />
$form->addElement( 'image', 'imageField', 'test.gif' );

// outputs<input name="imageField" type="image" src="test.gif"
value="test2.gif" />
$form->setDefaults( array( 'imageField' => 'test2.gif' ) );
$form->display();

I would've expected that $form->setDefaults would've changed the src,
but instead it adds the attribute value. Is there anyway around this?
Is this a bug?

MS

--

-----------------------------------------
Mark Steudel
P: 206.375.7244
msteudel(a)gmail.com

.. : Work : .
http://www.mindfulinteractive.com

.. : Play : .
http://www.steudel.org/blog