Skip to content

Commit

Permalink
Changed the new user form id to 'new_user_form'
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyDeSantiago committed Sep 24, 2023
1 parent 83ef2b0 commit 5008889
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/new_user_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<img src="asset/LOGO.png" class = "logo">

<!-- Form page -->
<form id ="login_form">
<form id ="new_user_form">
<input type="email" name="user_email" id="user_email" class="new_user_form_field" placeholder="Email">
<input type="first" name="first_name" id="first_name" class="new_user_form_field" placeholder="First Name">
<input type="last" name="last_name" id="last_name" class="new_user_form_field" placeholder="Last Name">
Expand Down
2 changes: 1 addition & 1 deletion public/sprout.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function validateEmail(email) {



document.getElementById("login_form").addEventListener("submit", async function (e) {
document.getElementById("new_user_form").addEventListener("submit", async function (e) {
e.preventDefault();

var userEmail = document.getElementById("user_email").value;
Expand Down

0 comments on commit 5008889

Please sign in to comment.