开发者

html quickform usage tips and tricks

I am using html quickforms. I want to do have 2 forms like

<form1>
</form>

<form2>
</f开发者_StackOverfloworm>

2 forms in single page. how do i do this in a page using quickforms.

i use code like this to create form.

$form1 =& new HTML_QuickForm('form_filter', 'POST', '', '', array('class' => 'PSDDForm1'));

can i use a single renderer to print both forms ?


First, use HTML_QuickForm2. Version 1 is deprecated.

To answer your question: just make sure that they have different names/ids, and it will work without problems. Yes, you can use the same renderer to render multiple forms.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜