diff --git a/slotBooking/form.html b/slotBooking/form.html index c8d60296..8b9d49e8 100644 --- a/slotBooking/form.html +++ b/slotBooking/form.html @@ -250,6 +250,40 @@

Book now, build your dream later.

Choose appointment mode!

+ +
+ +
+ +

Choose Type Of Service!

+
+
+ +
+ +
+ +

Choose Type Of Repair!

+
+
+
@@ -275,16 +309,16 @@

Book now, build your dream later.

- +
-

Enter project details!

+

Enter the issue details!

diff --git a/slotBooking/script.js b/slotBooking/script.js index d2d0fbb1..a5844a98 100644 --- a/slotBooking/script.js +++ b/slotBooking/script.js @@ -132,12 +132,12 @@ const validateForm=(e)=>{ document.getElementById('slotForm').elements[2].nextElementSibling.style.display = 'none'; let pinFormat = /^\d{6}$/; - if((arr[7].value == '' || arr[7].value == null) || !document.getElementById('slotForm').elements[7].value.match(pinFormat)){ - validate(7); + if((arr[9].value == '' || arr[9].value == null) || !document.getElementById('slotForm').elements[9].value.match(pinFormat)){ + validate(9); notSubmit = 1; } else - document.getElementById('slotForm').elements[7].nextElementSibling.style.display = 'none'; + document.getElementById('slotForm').elements[9].nextElementSibling.style.display = 'none'; if(notSubmit == 0){ const formData = new FormData(document.getElementById("slotForm"));