feat: Add form validation tips and style updates to sidebar inquiry
This commit is contained in:
1 parent
84e3a898cf
commit
0168605712
1 file changed
+5
-1
@@ -68,19 +68,23 @@
|
|||||||
<div class="w-full">
|
<div class="w-full">
|
||||||
<input class="w-full px-3 py-2 border border-gray-400 border-sm rounded-sm tracking-wider focus:outline-none focus:border-indigo-700" placeholder="Full Name"
|
<input class="w-full px-3 py-2 border border-gray-400 border-sm rounded-sm tracking-wider focus:outline-none focus:border-indigo-700" placeholder="Full Name"
|
||||||
type="text">
|
type="text">
|
||||||
|
<p class="text-xs text-red-500">Invalid Name</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex mt-1 md:mt-1 lg:mt-2 xxl:mt-1">
|
<div class="flex mt-1 md:mt-1 lg:mt-2 xxl:mt-1">
|
||||||
<input class="mr-2 md:mr-1 lg:mr-2 xxl:mr-1 w-full px-3 py-2 border border-gray-400 border-sm rounded-sm focus:outline-none focus:border-indigo-700"
|
<input class="mr-2 md:mr-1 lg:mr-2 xxl:mr-1 w-full px-3 py-2 border border-gray-400 border-sm rounded-sm focus:outline-none focus:border-indigo-700"
|
||||||
placeholder="Contact #" type="text">
|
placeholder="Contact #" type="text">
|
||||||
|
<p class="text-xs text-red-500">Invalid Phone Number</p>
|
||||||
<input class="w-full px-3 py-2 border border-gray-400 border-sm rounded-sm focus:outline-none focus:border-indigo-700" placeholder="Email Address"
|
<input class="w-full px-3 py-2 border border-gray-400 border-sm rounded-sm focus:outline-none focus:border-indigo-700" placeholder="Email Address"
|
||||||
type="text">
|
type="text">
|
||||||
|
<p class="text-xs text-red-500">Invalid Email Address</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-full mt-3 md:mt-1 lg:mt-2 xxl:mt-1">
|
<div class="w-full mt-3 md:mt-1 lg:mt-2 xxl:mt-1">
|
||||||
<textarea class="w-full px-3 py-1 xxl:py-3 text-gray-500 border border-gray-400 border-sm rounded-sm focus:outline-none focus:border-indigo-700"
|
<textarea class="w-full px-3 py-1 xxl:py-3 text-gray-500 border border-gray-400 border-sm rounded-sm focus:outline-none focus:border-indigo-700"
|
||||||
rows="4">Optional Message</textarea>
|
rows="4">Optional Message</textarea>
|
||||||
|
<p class="text-xs text-red-500">Invalid Message</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-full mt-4 md:mt-5 lg:mt-6 xl:mt-11 xxl:mt-2 mb-3">
|
<div class="w-full mt-4 md:mt-5 lg:mt-6 xl:mt-11 xxl:mt-2 mb-3">
|
||||||
<button class="relative flex justify-center items-center py-2 w-full text-md lg:text-lg xxl:text-md font-bold bg-green-300 tracking-wide rounded-none border-none focus:outline-none"
|
<button class="relative flex justify-center items-center py-2 w-full text-md lg:text-lg xxl:text-md font-bold bg-green-300 tracking-wide rounded-lg border-none focus:outline-none"
|
||||||
onclick="toggleSidebar('inquiry-alert-modal');toggleOverlay('example-collapse-overlay1');">
|
onclick="toggleSidebar('inquiry-alert-modal');toggleOverlay('example-collapse-overlay1');">
|
||||||
<img class="animate-spin absolute left-0 ml-4 h-4" src="assets/svg/icon_spinner.svg">SEND
|
<img class="animate-spin absolute left-0 ml-4 h-4" src="assets/svg/icon_spinner.svg">SEND
|
||||||
INQUIRY
|
INQUIRY
|
||||||
|
|||||||
Reference in new issue
Block a user