I'm trying to do a simple online form that emails me the results from
a few fields.
Here is the code:
Expand|Select|Wrap|Line Numbers
- <form action="http://cm1web1/WebSurveyComponents/script/
- processform.asp" method="post">
- <!-- Mandatory "hidden" objects -->
- <p>
- <input type="hidden" name="strInputElements" readonly
- value="Suggestion">
- <input type="hidden" name="strInputElements" value="Name">
- <input type="hidden" name="strInputElements" value="Email">
- <input type="hidden" name="strInputElements" value="Business Unit">
- <input type="hidden" name="intSendMode" readonly value="0">
- <input type="hidden" name="strSendParms" readonly
- value="ma**@website.com,CSPS Intranet
- Suggestion Box">
- Name:
- <input type=text name="Name">
- <br>(optional, but required if you would like a response to your
- comments or suggestions)</p>
- <p>Email:
- <input type=text name="Email">
- <br>(optional)
- </p>
- <p>Business unit:
- <input type=text name="Business Unit">
- <br>(optional)
- </p>
- <p>
- <textarea name="Suggestion" rows="12" cols="40">Write your
- feedback or suggestion here</textarea>
- <br>
- <br>
- <input name="Send" type="submit" value="Send">
-
- <input name="Clear" type="reset" value="Clear">
- </p>
- <p>(Unless you fill in your name and/or email, this form is completely
- anonymous)</p>
- </form>
Field = Suggestion
Response = Write your feedback or suggestion here
Field = Name
Response =
Field = Email
Response =
Field = Business Unit
Response =
The "Suggestion" field works fine, but the Name, Email and Business
Unit fields all come through with blank responses.
Any ideas?
Thanks!
Mark