
Sebastian Schlapkohl - 2013-02-21 16:44:14 -
In reply to message 10 from w. studer
I'm not sure what you mean by "value".
But if I understand this correctly, you could do something like this.
$custom = CustomHtml::get();
$form->addElement($custom);
...
do stuff
...
$custom->setHtml('<input name="lolcat" type="hidden" value="yayicanhascheezburger"/>');
...
$form->doRender();