Implemented a workflow that resembles the default HTML5 validation