how do I render a z3c.form form with independent subforms?

时间:2015-09-14 15:23:13

标签: plone z3c.form

I want to have a page that has multiple independent forms on it - in my case, there are no submittable form fields but instead each subform has some HTML content and then a button. The main form has no buttons.

The z3c.form docs say a custom template is needed to render the subform(s). On the other hand, apparently the plone.z3c.form package provides a default subform template and registers that as an adapter that can be used.

How do I use the default (z3c.form and/or plone.z3c.form) templates to render a form with subform(s)?

0 个答案:

没有答案