Report Offensive Message

Old?
I like your tutorial, it's easy to understand but to me, 30+ lines of code for a simple form with validation is to much, no? I understand you're trying to help people learn how to use Dreamweaver but at the same time, you're teaching old code.

Why aren't you using HTML5?

I created a simular form, with validation in no time at all.

<form action="" method="get">
<p><label for="NameField">Name:*</label> <input type="text" name="NameField" id="NameField" placeholder="Your Name" required /></p>
<p><label for="EmailAddressField">Email Address:*</label> <input type="email" name="EmailAddressField" id="EmailAddressField" placeholder="Email@Address" required /></p>
<p><label for="CommentField"><textarea name="CommentField" id="CommentField" cols="50" rows="8" placeholder="Your Comments"></textarea></label>
<p><input type="submit" name="SubmitButton" /></p>
</form>

I know some browsers don't support HTML5, but with a little jQuery you can get around this.
Posted by Craig_
Updated - 21st Jun 2011