FormFields can be subclassed and additional attributes can be added.
Small sample of FormField validation.