Contact form validation

Questions ArchiveCategory: QuestionsContact form validation
Ninoos asked 2 months ago

i created i contact page and i just need to implement a validation to this page(contact page), when i enter a name (of character is more than 5 character )it will show me a message \”you have to enter at less five charecters\”
project link is :
thank you

1 Answers
Hassan Aboul Hassan answered 2 months ago

Friend why simply not limit the number of the maximum number of characters in the textbox ??
LIke this:
<input type=”text” class=”form-control border-0″ name=”vname” value=”” placeholder=”Name” maxlength=”5″>