.
This commit is contained in:
@@ -66,12 +66,6 @@ form.addEventListener("submit", function(event) {
|
|||||||
|
|
||||||
let hasErrors = false;
|
let hasErrors = false;
|
||||||
|
|
||||||
// Validation logic...
|
|
||||||
//if (!privacyAccepted) {
|
|
||||||
// showMessage("Privacy Policy must be accepted before submitting.");
|
|
||||||
// hasErrors = true;
|
|
||||||
//}
|
|
||||||
|
|
||||||
if (!firstName) {
|
if (!firstName) {
|
||||||
showError("first-name", "Please enter your first name.");
|
showError("first-name", "Please enter your first name.");
|
||||||
hasErrors = true;
|
hasErrors = true;
|
||||||
|
Reference in New Issue
Block a user