Add form validation for photos