Menu

Presenting Forms within a website

Help
zsierra
2005-10-28
2013-06-03
<< < 1 2 (Page 2 of 2)
  • webnetincome

    webnetincome - 2007-07-15

    Ok, the "copy to new location" is what is confusing me.

    Ok, was getting confused.  I have made a form.  Original location is http://www.tylerhrm.com/form/forms/form1.html

    I wanted form to fit into my website look.  So I copied and pasted the above form into an .html file here :
    http://tylerhrm.com/freemagazinesubscription.html

    It looks ok but does not function of course.

    The folder in cpanel is located at public_html/form

    I think I understand to get this to work that I have to copy the folder and move it somewhere else?

    I know the new name is what is causing form not to work /freemagazinesubscription.html.

    Hope I didnt break any rules posting website url's here, but, it is only useful locally, so I am not trying to get folks to click on it.
    Sorry I dont get it so easy.
    Thanks

     
  • webnetincome

    webnetincome - 2007-07-15

    Hate to keep on posting so much, but here is something else.

    First off===If you noticed the last post--I changed the name of the folder...It is not sendform anymore--I deleted it to try something else.  Now folder is "form".

    Anyway above link is correct with form/forms

    Also, I cannot copy something already in Public_html to Public_html===It gives fatal error.
    Now, I can copy any folders in the "form" folder after opening it, such as: templates, use, forms,but that leaves out copying globals, process, etc.  listings.  But confusing me because they were in public_html anyway.

    I am still thinking that I should go into a file in there somewhere and put in freemagazinesubscription.html---LOL

    I don't mind giving one person permission to look in cpanel if necessary.

    Thanks

     
  • webnetincome

    webnetincome - 2007-07-15

    Ok, got it fixed.  I think I had two folders from phpformgenerator.  I probably left one while trying to get it working.. Now, next one should be easier.
    WooooHoooo.

    ok, just out of curosity, can you have mail sent to two emails?
    Just wondering.  It is no biggie.
    Thanks

     
    • TNTEverett

      TNTEverett - 2007-07-16

      Look here for the syntax of the mail function.  Specifically the $to section explains how to accomplish what you want. 

      http://us2.php.net/manual/en/function.mail.php

      "user@example.com, anotheruser@example.com"

       
  • webnetincome

    webnetincome - 2007-07-15

    Ok , I promise last message---LOL

    I am going to need to create another form with little different info.

    I assume I need to follow the same process with each form---copying files, etc. if I want it on my own .html page?

    Could this not create a conflict somewhere with two of each files like global, form1, etc.?
    Maybe I am not thinking this out.
    Thanks

     
    • TNTEverett

      TNTEverett - 2007-07-16

      There are two basic files that are required for each form to work. 
      1. The form1.html file.
      2. The process.php file.
      The third thing that must be unique is the database (file or SQL) for each form.

      These first two must be unique.  If you want to have more than one form you will have to rename any forms added to the same folder.  You must also rename the process.php file.  Renaming the form1.html file is trivial and can be done regardless of how many forms you have.  The exception is the process.php file rename.  When you rename a process.php for a specific form1.html file the html file must be edited to reflect the name change.  Look for the <form> tag in your html file and notice the form action command.  This is where the process.php file name will have to match the rename you have chosen.  The name is arbitrary but it must match the action command for the form and it must have the .php file extention. 

       
  • webnetincome

    webnetincome - 2007-07-20

    A big thank you goes out to jsherk and TNTEverett.  Got it all figured out with your help. Even changing the colors of the forms to match the site, etc.  It's folks like you that make things easier and possible.  I have 2 forms (contact us) and (free magazine subscription) on the site now.
    Thanks,
    webnetincome

     
<< < 1 2 (Page 2 of 2)

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.