Menu

More Than One Form on a Site?

Help
2005-12-23
2013-06-03
  • glitterkitti

    glitterkitti - 2005-12-23

    Does anyone know how I would put more than one form on a website?

     
    • TNTEverett

      TNTEverett - 2005-12-23

      Forms are enclosed by html tags <form></form>
      If you create two forms you can cut and paste both into one html page.  You can do this as many times as you want.  The only problems is to avoid confusion for your visitors. 

       
    • glitterkitti

      glitterkitti - 2005-12-24

      What if I create an application form and then want to have a contact form on another page. Where do I put the form1 files? Can I rename them?

       
      • TNTEverett

        TNTEverett - 2005-12-24

        the form1 file can be renamed anything you want, or it can be cut and pasted into another html file.  The one thing that must be kept unique to each form is the process.php file. 
        If you will have multiple forms with anything different, the process.php files will have to be kept separate.  Name the first one process1.php and change the form1.html line to "<form action=process1.php ..."
        Next form, rename the form1.html to form2.html, change the "<form action=process2.php ..." in the new form2.html.  Rename the process.php to process2.php.
        Do this as many times as you like.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.