Form submission steps

Steps for form submission.

Handles the case where someone triggers the submit event.