How can I create a form that is shown only if it was not submitted yet?