validation - HTML Tag not allow in textbox -
in website contact form. have received email. there html tags included in email.
can please provide solution validation (special symbol not allowed) etc....
check if suits needs.
you need add
required pattern = "[a-za-z0-9 ]+"
attribute input-textbox. allow upper-case/lower-case text, numbers , spaces only.
<!doctype html> <html> <form> <label>name*</label> <input type="text" name="name" class="field" required pattern="[a-za-z0-9 ]+" /> <input type="submit"/> </form> </html>
Comments
Post a Comment