How can I check completed fields before submission?