Forum

Thread tagged as: Question, Problem

Multiple forms: Only last will submit

I have three forms in a template. All have different IDs and all are set to be processed by the Forms App. But only the last form on the page will submit successfully. The others will only reload the page and remain filled out. I tried a lot, but the only thing that seems to work is deleting the other forms. Any help is appreciated.

Nils Mielke

Nils Mielke 3 points

  • 7 years ago

Okay, I think I just found the problem:
I had the code for the three forms in one content template. When I create different form templates and call them with <?php perch_form('filename.html'); ?> on a page it works.
Is there a way to load form templates into a content template?

Drew McLellan

Drew McLellan 2638 points
Perch Support

You can pass them in with PerchSystem like any other content, I think.

You mean like

<perch:template path="forms/filename.html" />

? Then the form doesn't succeed, as described above.

Drew McLellan

Drew McLellan 2638 points
Perch Support