Basic validation fn for state forms.