Menu

Can't figure out how to link embedded form

Help
jay
2009-06-03
2013-06-03
  • jay

    jay - 2009-06-03

    I have a single page on my site, with an embedded 3-field form. phpFormGenerator is installed and the path to the preinstalled form is at mysite.net/formgen/use/form1/

    How do I link the two?

    Here's my code from my index.html page:

    <td bgcolor="#CCCCCC">
                  <form enctype="multipart/form-data" action="process.php" method="post">
                    <h3 align="center">2009 Biggest Loser Challenge<br>
                      Sign Up Form</h3>
                    <blockquote>
                      <p>Name<br>
                        <input name="Name" type="text" size="32" maxlength="72">
                      </p>
                      <p>Email<br>
                        <input name="Email" type="text" size="32" maxlength="72">
                      </p>
                      <p>Phone<br>
                        <input name="Phone" type="text" size="32" maxlength="72">
                      </p>
                    </blockquote>
                    <div align="center"><input type=submit value="Submit Form">
                   
                    </div>
                  </form></td>

    Thanks in advance for any help!

     
    • TNTEverett

      TNTEverett - 2009-06-03

      I'm not sure what you mean by "link the two".
      Your form "<form enctype="multipart/form-data" action="process.php" method="post">" action is "process.php".  Since there is no specific path in the value then the process.php file must be in the same folder as the form.  If you are using the admin then the admin folder, the files folder, and any other file or folder need to be in the same relative path as the form. 

       
    • jay

      jay - 2009-06-03

      Heh, well, you would think it would be something that simple. But I tried every path I could think of. . . from

      http://mysite.mydomain.com/formgen/use/form1/process.php

      down to

      ../process.php

      and everything in between. None of the pathing changes worked.

      So what can I try next?

       

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.