Add basic form validation