For some reason, upon clicking submit, my page simply redirects back to an emptied form. I cannot seem to figure out the reason. My only guess is that it's not recognizing the "submit" is true and simply returning to itself via the else clause. However, I've switched the action for the form to a defined URL (eg For some reason, upon clicking submit, my page