figuring out how to validate forms.