This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
[closed] Multiple Forms on same HTML page
Started 14 years ago by zforray | 4 posts |
-
How can I put 2-or more short forms on 1-html page?
When I try to, I get this error where the second form should be:
Fatal error: Cannot redeclare display_machform() (previously declared in /hermes/web05b/b942/pow.scbcweb/Media/htdocs/machform/machform.php:27) in /hermes/web05b/b942/pow.scbcweb/Media/htdocs/machform/machform.php on line 240
I am using the PHP version of embedding.
Posted 14 years ago # -
You can try remove this line for the second form embed code, because it already declared on form 1
require("/hermes/web05b/b942/pow.scbcweb/Media/htdocs/machform/machform.php");
Otherwise, you can use "standard embed code" to avoiding the conflict between each form
MachForm Support
Posted 14 years ago # -
Thanks. I would rather not use iFrames. These pages are already rendered via PHP.
Posted 14 years ago # -
I'm afraid embedding multiple forms on a single page using the PHP code won't work. Since it would cause some conflict.
MachForm Founder
Posted 14 years ago #
Topic Closed
This topic has been closed to new replies.