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

Credit Card by Tel Input not working! #190

Open
siba2893 opened this issue Sep 9, 2022 · 2 comments
Open

Credit Card by Tel Input not working! #190

siba2893 opened this issue Sep 9, 2022 · 2 comments

Comments

@siba2893
Copy link

siba2893 commented Sep 9, 2022

So I have a form field which is exactly as you guys said in the documentation. An <input type="tel" name="credit_card_number" /> but when I try to fill that input only there is no way I can get my custom fields to target it as credit card, it will always use a telephone number. I tried with the Contextual Menu -> Fill this input, also with Fill this input keyboard shortcut.

It doesn't even work on the example page that you guys have in the docs.

@calvinballing
Copy link
Contributor

You can overcome this behavior by inserting a RegEx custom rule above the telephone rule, for example with a matcher of creditcard and an output of [0-9]{16}. Note that special characters are stripped before matching is attempted, so you have to enter creditcard not credit_card to match credit_card.

@calvinballing
Copy link
Contributor

@siba2893
I've made a clone of this Extension called Fake Filler 2, which includes default custom rules that correctly match credit card inputs, even when they have the type tel. You can find it in the Chrome Web Store here:
https://chrome.google.com/webstore/detail/fake-filler-2/cjikmgjafbapgbmlaobilpfjhoimmblo
Any feedback is welcome!

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

2 participants