开发者

How to use input hidden fields in smarty form

I want to use hidden field in smarty form

tell me the how i use this

i know how to add element like this

开发者_如何转开发
$form -> addElement('submit', 'submit_order', Pay, 'class = "flatButton"');

but i want to used hidden fields with this


Have you tried

$form->addElement('hidden', 'fieldname', 'Text', '');

?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜