Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to expect number or letter #25

Open
AbdulkerimFettahoglu opened this issue Apr 9, 2020 · 0 comments
Open

How to expect number or letter #25

AbdulkerimFettahoglu opened this issue Apr 9, 2020 · 0 comments

Comments

@AbdulkerimFettahoglu
Copy link

Users can write number or letter to text. First two characters can be 'A' or '1'. I've checked the examples but can't found. My pattern should be something like following:

<div>
   <label for="myFormat">My Format Label</label>
   <input id="myFormat" placeholder="XX XX XXX" pattern="([A-Z]|[0-9]){2} \d\d \d\d\d" 
   class="masked" data-charset="__ XX XXX"
   type="text" name="myFormatName"/>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant