A UITextField subclass to build a simple form and validate it.