Jump to content

I need help with forms!


martemelon
 Share

Recommended Posts

Okay! I found a "forms" code on W3schools, and I would test it.But when I clicked on "submit", it didn't send the "form".A "warning-window/popup thing" did show on the screen.The code is:

<html><body><form action="MAILTO:marte_melon@hotmail.com" method="post" enctype="text/plain"><font face="Trebuchet MS" size=2 color=black>Navn:<br><input type="text" name="name"value="" size="25"><br>Mail:<br><input type="text" name="mail"value="" size="25"><br><label for="tekstområde">Din kommentar: </label><br><textarea id="tekstområde" rows="6" cols="21"></textarea><br><br><input type="submit" value="Send"><input type="reset" value="Nullstill"></form></body></html>

I hope someone can help me! :)

Link to comment
Share on other sites

I did click ok on the alert. But it didn't work!

Do you have an email program installed on your pc like outlook?That is how the page is trying to send the mail, if you don't have this then your outta luck, and that goes for anyone else who tries to use it, i would not recommend this method, i would use a server side script for this (if possible).
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...