Form UI and validation.