View Full Version : html form help
scarface
05-30-2006, 06:37 AM
Can someone tell me whats wrong with my form?? its a form that send an email
(note-I changed my email to xxxx@xxx.com for security purposes)
<html>
<body bgcolor="black">
<center><img src="logo.jpg" width="800" height="200" ALT="Minions Of Light></center>
<hr>
<form action="MAILTO:xxxx@xxx.com" method="post" enctype="text/plain">
<hr>
<p><font color="red" face="comic sans ms" size="7">Recruiting Form</font></p>
<hr>
<center><font color="red" face="comic sans ms" size="4">Main Character Name:</font><br>
<input type="text" name="main character name"</center>
<br>
<center><font color="red" face="comic sans ms" size="4">Real Life Name:</font><br>
<input type="text" name="real life name"</center>
<br>
<center><font color="red" face="comic sans ms" size="4">Main Character's Level:</font><br>
<input type="text" name="main characters level"</center>
<br>
<center><font color="red" face="comic sans ms" size="4">Main Character's Class:</font><br>
<input type="text" name="main characters class"</center>
<br><br>
<center><input type="submit" value="Send">
<input type="reset" value="Reset"></center>
</form>
<br>
<center><font color="red" face="comic sans ms" size="2">When Complete, Click "Send" To Submit.</font></center>
<br>
<br>
<br>
<center><font color="red" face="comic sans ms" size="4">© Copyright Seth Muncy, 2006
</body>
</html>
scarface
05-30-2006, 07:13 AM
Damn thanks for no help after i waited for an hour and a half but you answer the other asses question 2 secs after he enters it, Real professional moderators on here...
Arbitrator
05-30-2006, 11:10 AM
Heh, the majority of questions are answered by volunteers, not moderators. Perhaps no one answered since you seem to have little clue what you're doing.
First off, your page lacks the following necessary things:
a document type declaration (DTD) (resource (http://hsivonen.iki.fi/doctype/))
head element
meta (content-type) element
title element
a stylesheet (CSS)The meta element is not required but highly recommended to ensure that special characters are rendered correctly on your page. Second, you're using the following deprecated (outdated) code that should not be used in favor of CSS:
bgcolor attribute
center element
font element
color attribute
face attribute
size attribute
width attribute
height attribute
I'd say that the width and height attributes are deprecated even though they still seem to be allowed by the validator; some may disagree, however. Anyway, the aforementioned code is stylistic in nature and should be replaced by the following CSS declarations:
background: #000;
text-align: center;
color: #f00;
font-family: "Comic Sans MS", cursive;
font-size: 36pt;
font-size: 14pt;
font-size: 10pt;
width: 800px;
height: 200px;In addition, you have several coding errors:
your first four input elements lack a closing greater-than (>) symbol
spaces aren't allowed in the value of the name attribute; use underscores
disregarding that you shouldn't be using it, the final font element is unclosed (missing </font>)It should also be noted that no one will be able to use your form unless they have an email client configured for their use on that computer; in other words, not on a public or foreign computer. You should also look into ways to mask your email address if you're concerned about email harvesters (bots) and spam.
scarface
05-30-2006, 04:53 PM
well for one it isnt even pubished to the web yet, 2nd of all yea its outdated because i havent even began to start using css on this site yet, im just roughly coding it atm, But i guess your not smart enough to give me an answer either so ohwell...
_Aerospace_Eng_
05-30-2006, 06:00 PM
well for one it isnt even pubished to the web yet, 2nd of all yea its outdated because i havent even began to start using css on this site yet, im just roughly coding it atm, But i guess your not smart enough to give me an answer either so ohwell...
Actually he did
In addition, you have several coding errors:
* your first four input elements lack a closing greater-than (>) symbol
* spaces aren't allowed in the value of the name attribute; use underscores
* disregarding that you shouldn't be using it, the final font element is unclosed (missing </font>)
Guess you aren't smart enough to understand that.
oldcrazylegs
05-30-2006, 06:24 PM
not a good idea to say you are not smart enough when you want help. remember you need the help not us.
first of all did you know that this type of form requires that you and your site's visitors have an email client installed on your's or their computer for it to function? such a program would be outlook express or eudora etc. if you are using a web=based email account it won't work.
knowing this you should also put your email address on the page in case the visitor doesn't have one of these programs.
placing an email address on a page without converting it isn't a good idea since advertisers send out bots on the web to mine email addresses off of web sites. so type your email address into the top textarea of this tool and click the convert button. copy the resulting code into your source code.
http://dwight.clickthesky.com/snippets1/asciiconverter.shtml
Arbitrator
05-30-2006, 09:55 PM
if you are using a web=based email account it won't work.Actually, this isn't entirely true. You can configure one of Internet Explorer's settings to make your default email client Hotmail and I'm sure there are plug-ins for other web-based email providers. The problem is still the same though: the user must have an email client configured for their use on a particular computer to use the mailto protocol.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.