how do I know if a form was submitted