diff --git a/apply.html b/apply.html index 45ba7f9..bdc150f 100644 --- a/apply.html +++ b/apply.html @@ -372,9 +372,15 @@
Question 1 of 13

Contact Information

-
- - +
+
+ + +
+
+ + +
@@ -881,13 +887,10 @@ function collectFormData() { const form = document.getElementById('application-form'); - const nameParts = form.name.value.trim().split(' '); - const firstName = nameParts[0] || ''; - const lastName = nameParts.slice(1).join(' ') || ''; return { - first_name: firstName, - last_name: lastName, + first_name: form.first_name.value.trim(), + last_name: form.last_name.value.trim(), email: form.email.value, social_links: form.social_media.value, contact_other: form.contact_other.value,