Make Users Pick Our Supported Colleges
Closed this issue · 2 comments
Saw you opened this, I also ran into a similar issue on the homepage! If it's helpful, here's how I solved it:
noms/src/main/webapp/assets/js/indexScript.js
Lines 182 to 196 in afa936c
It aborts navigation if the option picked is not in the list, forcing the user to backspace and pick a dropdown option :)
Saw you opened this, I also ran into a similar issue on the homepage! If it's helpful, here's how I solved it:
noms/src/main/webapp/assets/js/indexScript.js
Lines 182 to 196 in afa936c
It aborts navigation if the option picked is not in the list, forcing the user to backspace and pick a dropdown option :)
Yes, I saw that; thank you for sending this over! However, with the sign up form, it'll trigger with or without the college exiting in the list because the submit aspect is attached to the HTML form that triggers a POST request when the form is submitted. Therefore, I need to take out the POST from the HTML and trigger the submit on the JavaScript side after it checks for the validness of the college!