Click to See Complete Forum and Search --> : textarea not validating?
tracknut
09-06-2006, 11:14 PM
Could someone take a look at this and tell me why it isn't validating?
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.borzoi.org%2Fcontact.html&charset=%28detect+automatically%29&doctype=Inline
Thanks much,
Dave
felgall
09-06-2006, 11:17 PM
You don't have the right combination of tags around the textarea. Can't say exactly what the cause of the problem is without seeing the whole page.
tracknut
09-06-2006, 11:24 PM
Here's the source:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Borzoi.org</title>
<link rel="stylesheet" href="site/style-normal.css" type="text/css" title="style-normal"/>
<link rel="alternate stylesheet" href="site/style-mini.css" type="text/css" title="style-mini"/>
<link rel="alternate stylesheet" href="site/style-color.css" type="text/css" title="style-color"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="site/styleswitcher.js"></script>
</head>
<body>
<div id="wrapper">
<div id="menu">
<!--webbot bot="Include" U-Include="menu/menubar-main.html" TAG="BODY" --></div>
<div id="s1content">
<div id="banner-contact">
</div>
<h1>Contact</h1>
<p>If you are interested in providing content to the site, please contact
me. I am actively looking for material in the areas of performance events,
health, politics/animal rights, and photographs; anything of interest to
this community. Interesting tales of first-timer or old-timer experiences at
performance events or archival & historic information is always of interest!</p>
<div id="post-it">
<div id="post-it-header">
<p class="p1">If you would like to contribute articles, reviews or photographs, or have a
suggestion for what you'd like to see on the site, I'd love to hear from you!</p>
</div>
<form action="http://www.borzoi.org/gdform.php" method="get">
<p class="postit">name <input class="fields" type="text" name="name" value="Enter your name here" tabindex="1"/></p>
<p class="postit">email <input class="fields" type="text" name="email" value="Enter your email here" tabindex="2"/></p>
<p class="postit">message</p>
<textarea rows="5" name="note" cols="74" tabindex="3">Enter your message here</textarea>
<input class="button" type="submit" value="Send" tabindex="4" name="x" style="float: left"/>
<input name="redirect" type="hidden" id="redirect" value="thanks-contact.html"/>
<input name="subject" type="hidden" id="subject" value="[borzoi-form]Contact from Borzoi.org"/>
<input name="recipient" type="hidden" id="to" value="forms@borzoi.org"/>
</form>
</div>
</div>
</div>
</body>
</html>
matty_y2002
09-07-2006, 10:27 AM
try putting a <p> tag around the <textarea> tag and the <input> tags
e.g <p><textarea rows="5" name="note" cols="74" tabindex="3">Enter your message here</textarea></p>
and see if that validates
tracknut
09-07-2006, 11:32 AM
I'll give that a shot tonight and see if it works.... thanks
Dave