html textbox pattern mobile number
<input type="text" name="Phone Number" pattern="[7-9]{1}[0-9]{9}"
title="Phone number with 7-9 and remaing 9 digit with 0-9">
html textbox pattern mobile number
<input type="text" name="Phone Number" pattern="[7-9]{1}[0-9]{9}"
title="Phone number with 7-9 and remaing 9 digit with 0-9">
regex on input
<form>
<label for="username">Username <i>(letters and numbers only, no punctuation or special characters)</i></label><br>
<input name="username" id="username" pattern="[A-Za-z0-9]+">
</form>
name validation html
<input type="text" pattern="[a-zA-Z'-'\s]*">
input type file pattern attribute in html
<input type="file" name="my-image" id="image" accept="image/gif, image/jpeg, image/png" />
To select only image files, you can use this accept="image/*"
<input type="file" name="my-image" id="image" accept="image/*" />
html5 input pattern name
echo '<input type="text" maxlength="32" name="first_name" pattern="[A-Za-z]{1,32}" value="'.$_SESSION['user_first_name'].'" required>';
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us