Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayushmaanagarwal1211 committed Oct 2, 2024
1 parent ac27ed9 commit 07270a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Website/app/contact/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ export default function contact() {
inputMode="text"
required
placeholder="Name"
pattern="^[a-zA-Z_]{5,}$"
title="Please enter at least 5 characters and a - z , A - Z and _ are allowed"
className="h-[50px] border pl-3 min-w-[200px] max-md:w-[95%] w-[40%] border-gray-300 rounded-3xl"
pattern="^[A-Za-z\s'-]{5,}$"
title="Please enter at least 5 characters and Only lowercase, uppercase and underscore are allowed"
className="h-[50px] border pl-3 focus:outline-blue-600 min-w-[200px] max-md:w-[95%] w-[40%] border-gray-300 rounded-3xl"
/>
<input
className="h-[50px] border pl-3 min-w-[200px] max-md:w-[95%] w-[40%] max-w-[500px] border-gray-300 rounded-3xl"
className="h-[50px] border focus:outline-blue-600 pl-3 min-w-[200px] max-md:w-[95%] w-[40%] max-w-[500px] border-gray-300 rounded-3xl"
type="email"
required
pattern="^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$"
Expand Down

0 comments on commit 07270a9

Please sign in to comment.