Easier form validation with PHP

simon willison has written a nice little piece on form validation with php, which is a nice mix of education and implementation:

“My latest attempt… involves embedding validation and redisplay rules in the markup of the form itself. The form is written in XHTML, but with a number of additional tags and elements. Any form field elements can have a number of additional attributes which specify the validation rules of the form.”

[ via morelikethis ]

Leave a Reply