feat: Enhance contact form with required fields for name, email, mobile, and message

This commit is contained in:
2025-08-24 17:40:28 +05:45
parent 27f371955c
commit 2d8c43691f

View File

@@ -316,13 +316,14 @@
<form action="{{ route('enquiry.store') }}" method="post" id="contact-form">
@csrf
<input class="w-full mb-30 rounded-6 py-15 text-14 px-10 border-bottom" type="text"
name="name" id="" placeholder="Your Name">
name="name" id="" placeholder="Your Name" required>
<input class="w-full mb-30 rounded-6 py-15 text-14 px-10" type="email" name="email"
id="email" placeholder="Your Email">
id="email" placeholder="Your Email" required>
<input class="w-full mb-30 rounded-6 py-15 text-14 px-10" type="email" name="mobile"
id="mobile" placeholder="Phone">
<textarea class="w-full mb-40 rounded-6 text-14 px-10" name="message" id="" placeholder="Your Message"></textarea>
id="mobile" placeholder="Phone" required>
<textarea class="w-full mb-40 rounded-6 text-14 px-10" name="message" id="" placeholder="Your Message"
required></textarea>
<button type="submit" id="submit-btn"
class="px-10 py-10 bg-brand text-white rounded-10 text-16 border-0 button-hover">
<i class="fa-solid fa-paper-plane text-white text-16 pr-5"></i>