I have a form like this:
index.php
<
There is now an attribute for the submit input that handles this: