Re: Best solution to tedious form validation?




In your suggestion you have type="text" and type="alpha" in the same input
tag.

Yes, sorry...


<input type="text"
id="first_name"
name="first_name"
datatype="alpha" <- new attribute int|alpha|phone|
email|etc
required="true" <- new attribute true|false
value="">

Thx for the catch

Walter

.