开发者

html quickform usage tips and tricks

开发者 https://www.devze.com 2023-02-04 07:45 出处:网络
I am using html quickforms. I want to do have 2 forms like <form1> </form> <form2> </f开发者_StackOverfloworm>

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

精彩评论

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