Form validation

Completes form validation for all fields.