The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CGI form to email script confusion

Discussion in 'E-mail Discussions' started by A_O, Nov 16, 2004.

  1. A_O

    A_O Registered

    Joined:
    Nov 1, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    i have never used this stuff. I have created a .txt file (ASCII) like the directions say and have created the form i want users to fill in.

    but i don't understand what to do from there?

    where do i upload my .txt file and what code to i have to put on my from "SUBMIT" button to make this thing work?

    thanks for any help.
     
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
  3. A_O

    A_O Registered

    Joined:
    Nov 1, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    thanks linux, it works now.

    i still need help with a couple more steps.

    1. validate fields - so no one puts in the wrong stuff - aka email. and is there a way say if question 2 is yes then #3 is skipped and can't be filled in? but if if question 2 is No, then #3 must be answered?

    2. required fields - i want certain fields to be required and the form won't be sent until they are.

    3. right now when the forum is filled out and submitted, it goes to a success page simply showing the .txt file with the areas filled in. I don't want people to see that but go to a "thank you page" and them be automatically sent back to my home page after a certain amount of time. any way to do that?

    4. how do ensure that people won't fill out multiple forms?

    Thanks.
     
    #3 A_O, Nov 17, 2004
    Last edited: Nov 17, 2004
  4. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page