View Full Version : Form troubles


Mona
11-26-2003, 03:46 AM
Can anyone help me trouble-shoot this form, please? I tried using Lissa's form, before moving to the one provided by my hosts support forum, but that did exactly the same thing.

Basically the problem is that when I try to submit a test email, I get a dialog box telling me that the message will be submitted via e-mail and do I want to my e-mail address to be visible to the recipient and to click yes, no, or cancel. I asked a couple of friends to test it and they both had their e-mail application opened by it :(

Here's the code:
<br>
<form action=mailto:my@email.com method="POST" enctype="text/plain"> <br>
<input type="hidden" name="To" value="Cutts Site Comments">
<br>Your Name?:<br><br><input type="text" name="question 1:" size="25" maxlength="100"><br><br>
<br>Your E-Mail?:<br><br><input type="text" name="question 2:" size="25" maxlength="100"><br><br>
<br><br><br>Your Comments?:<br><br><textarea name="Subject of text area" wrap=physical rows=7cols=46></textarea><br>
<br>
<input type="submit" value="Submit"><img src="spacer.gif" width=5 height=1 alt="spacer"><input type="reset" value="Try again"></form><br><br>


Any ideas? Thanks so much :)

Rosey
11-26-2003, 03:58 AM
That's the way those scripts work, it's going to open outlook or whatever.

If you want them just to enter the info and click send without opening it use this:

http://www.stargeek.com/php_scripts.php?script=12&cat=blog

It's a php script and works.

Mona
11-26-2003, 04:09 AM
Thanks for that, I've filled in loads of forms online and none of them have done that, so it never occured to me that's what it was meant to do *stupid*

Thanks for the link.