Add server side form validation for the upload form