|
-
Sep 11th, 2000, 07:31 PM
#1
Thread Starter
Member
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
-
Sep 11th, 2000, 07:41 PM
#2
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.
-
Sep 11th, 2000, 09:47 PM
#3
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|