Results 1 to 3 of 3

Thread: Just need assistance with figuring out a basic form

  1. #1
    Join Date
    May 2012
    Thanked 0 Times in 0 Posts

    Default Just need assistance with figuring out a basic form

    I hope this is being posted in the correct place. I would like to create a basic form just so users could input their email address. The HTML part is pretty simple and self explanatory, for example on the W3 schools it gives this example:

    <form action="demo_form.asp" method="get">
      First name: <input type="text" name="fname"><br>
      Last name: <input type="text" name="lname"><br>
      <input type="submit" value="Submit">
    However, in order to receive the input from the users, it will write it to an asp file correct, or wrong? In this example to "demo_form.asp" BUT I do not understand how to write that asp form or how to even upload it or where it goes or where to put the asp code if I come across an already written one or where it goes or anything, I'm very lost, on how to just get the stuff the user inputs. Thanks for any advice or direction.

  2. #2
    Join Date
    Mar 2005
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries


    First you need to have an asp capable server, do you?

    The file demo_form.asp wouldn't write this information to itself, that would be inefficient. Usually it will write the data to a database, but a plain test file or a comma delimited file could be used. This file would be created if it doesn't exist or added to if it does. If using a database, that would have to be setup ahead of time. At the same time that it does that, it will show something to the user, like:

    Thanks for signing up!
    And have a link or links to where you want the user to be able to go next.

    My asp is a bit rusty though, and I've never used a formal database, so I'm not sure what exactly should go in the demo_form.asp page. I'm sure there are templates for that sort of thing available and the W3 Schools tutorial will get you the asp basics:
    - John

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2012
    Thanked 0 Times in 0 Posts

    Default Problem Solved!

    It turns out my hosting plan had a form mailer for me. They gave me the code to replace
    <form action="demo_form.asp" method="get">
    with the direction to their PHP form file. So it was as easy as writing the HTML form and using their PHP pre-written code, and the form input from my website visitors gets sent to me. Thanks for the advice!

Similar Threads

  1. PHP and form assistance needed.
    By redrubi in forum PHP
    Replies: 2
    Last Post: 02-28-2008, 10:45 PM
  2. Basic Form Tutorial
    By Diversions in forum HTML
    Replies: 3
    Last Post: 10-13-2007, 08:45 PM
  3. Need assistance with ASP Upload form
    By webform in forum ASP
    Replies: 0
    Last Post: 10-05-2007, 05:11 AM
  4. Basic html contact form
    By wentwooddownhill in forum HTML
    Replies: 2
    Last Post: 08-22-2007, 03:31 PM


Posting Permissions

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