Hello campers, I just completed Survey Project on Responsive Web Design. I will greatly appreciate any feedbacks. Link to Code Hour Survey
Nicely designed form. Add validations for Name, Email. I got an error when I entered 2 numbers (ex: 33) in Mobile Number field and submitted completely filled form.
Keep it up
Thanks for the review … Currently on it
validation completed – This fix was also an eye opener – added a descriptive placeholder on mobile number field.
Any recommendations please
I’m trying to change the validation message displayed on mobile number input field( current message is not user friendly at all). Is there anyway to set the custom message using HTML or CSS ?
Yes, there is a way to display custom message.
<input type="text" id="username" required placeholder="Enter Name" oninvalid="this.setCustomValidity('Please Enter Your 10 Digit Mobile Number')" oninput="this.setCustomValidity('')" />
I hope it helps
Thanks – indeed very helpful.
Just updated code base and i’ve been able to get custom message to display.