figure out if we can submit a form