SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Thread: FeedBack Forms

  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2004
    Location
    Cali
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    FeedBack Forms

    Is there any way to create a feedback form with javascript or do I have to use cgi?

    Thanks,
    Eric

  2. #2
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,423
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Well, you can have a form submit to you directly without CGI or JavaScript. Just set your form tag to look like this:

    <form method="post" enctype="text/plain" action="mailto:email@domain.com" onSubmit="doSomething()">

    This will cause the contents of your form to be sent to you via email. However, since the form won't appear as if it has done anything, you'll need JavaScript to let the user know it worked or to redirect them to a new page.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jan 2004
    Location
    Cali
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How would I redirect them to a different page?

    Thanks. I got the first part to work, I just need them to redirect to another page.

  4. #4
    SitePoint Wizard silver trophy
    Join Date
    May 2003
    Posts
    1,843
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ::: certified wild guess :::

  5. #5
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Use a php form processor if your host supports it. More secure

  6. #6
    SitePoint Enthusiast
    Join Date
    Jan 2004
    Location
    Cali
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, I checked out a bunch of php scripts at hotscripts but would you recommend one thats the most reliable and easy to install.

    I don't know how to write php, so I'm going with a premade script.

    Thanks for the advice

  7. #7
    SitePoint Enthusiast
    Join Date
    Jan 2004
    Location
    Cali
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, I installed a php form.

    Thanks


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •