Forum
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.
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?
You can pass them in with PerchSystem like any other content, I think.
You mean like
? Then the form doesn't succeed, as described above.
No, I mean like https://docs.grabaperch.com/docs/templates/passing-variables-into-templates/