From Dino's book.
When DataType refers to a value of a non-String type such as DateTime, validation is included. When DataType refers to a special meaning of a String type, no validation is taken into account; in this regard, the DataType attribute works as a plain display attribute. For example, using DataType[DataType. EmailAddress] ensures that any content is rendered as a hyperlink, but not that the content is checked against the typical e-mail address format. If you want validation, you have to add a regular expression