Credit card auto-fill issue

Some of the website split the credit card field into 4 inputs.
For example:
CreditCard: “cardNo1-cardNo2-cardNo3-cardNo4”
Bitwarden is not intelligent enough to autofill all of them, but it auto-fill into cardNo1 instead.

Is this some kind of bug?

1 Like

Hi there!
I am experiencing the same thing at Barclays UK Bank, having 4 inputs there as well.

It would be wonderfull if bitwarden can recognize if there is only 1 input for card number, or 4, and if that’s the case, split the card number, and autofill accordingly.

I found a temporary solution though:

  1. I inspected the source code of the bank’s page.
  2. I found the bank’s page is using inputs with IDs named cardNumber0, cardNumber1, cardNumber2, cardNumber3.
  3. I then defined those fields in bitwarden as custom fields, with proper values of the card.
  4. Lastly, I set the default “Number” field in bitwarden as blank.
  5. Autofilling now works great, as expected.

Cumbersome? Yes. But works.
There is an obvious pattern in the case I described.
Is there only one cardNumber/number/or similar field? Fill it. Are there multiple fields such as cardNumber0, 1, 2 and 3? Or 1, 2, 3 and 4? Basically, are there multiple inputs with distinguesible ID? If yes, split number and autofill as expected.

Can a member of bitwarden confirm if this is a case? Is there a better workaround? Does it need to be implemented?

2 Likes