Results 1 to 3 of 3

Thread: HTML Question

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    Australia
    Posts
    33

    Question

    Hi

    I am attempting to write an HTML questionare form that contains a series of questions and at the bottom of the form have a submit/send button. Once this button is pressed the results will be sent to an email address.

    What`s the best way to do this? ie. Is there already an HTML application that can do this... Frontpage?
    or would the code have to be added separately to the form?

    Any help would be appreciated...

    Thanks

    Gregg

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Although this is a VISUAL BASIC forum I believe you can write it out in HTML like this:

    <html>
    ....
    <form method="POST" action="[email protected]">
    <input name="question1" type=text or radio...>
    ....
    <input type="submit" value="send">
    </form>
    ....
    </html>

    this will send the results to the specified e-mail address in the follow format as a ATT file:

    question1=yes&question2=no

    or what ever values you give to the form inputs.

  3. #3
    Hyperactive Member
    Join Date
    Sep 2000
    Location
    NJ, USA
    Posts
    326
    You could use the VB text boxes as a mock up to look like an HTML form. Then you could use the GET method for the form posting to the script(more like a request, but that's server stuff).

    Get the values in the text boxes to create your Submit buttons target.

    http://www.here.com/cgi-bin/store.cgi?name=text1.text&email=text2.text

    Obviously that wouldn't work in creating the URL, but you could concactinate(sp?) the variables into one long URL.

Posting Permissions

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



Click Here to Expand Forum to Full Width