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


  1. zforray
    Member

    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 13 years ago #
  2. redityo

    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 13 years ago #
  3. zforray
    Member

    Thanks. I would rather not use iFrames. These pages are already rendered via PHP.

    Posted 13 years ago #
  4. yuniar

    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 13 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.