diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue index 950e730..2544c76 100644 --- a/frontend/src/views/Home.vue +++ b/frontend/src/views/Home.vue @@ -1,45 +1,47 @@ @@ -81,6 +83,15 @@ export default { this.loadingTutors = false; }); } + }, + onSubmit: function(e) { + console.log("submit"); + e.preventDefault(); + e.stopPropagation(); + var form = document.getElementById("submission-form"); + if (form.checkValidity()) { + this.$router.push("/observation"); + } } } };