duanqian8867 2011-01-12 11:35
浏览 35
已采纳

html quickform使用技巧和窍门

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

<form1>
</form>

<form2>
</form>

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 ?

  • 写回答

1条回答 默认 最新

  • dongyan5706 2011-09-23 10:00
    关注

    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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?