I need to check the forms before upload and I have hidden the submit button