question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

input type="tel" with expiration date on iPhone

See original GitHub issue

The CVV has input type="tel", which summons the numeric keyboard. The numeric keyboard is great, but it doesn’t have a slash. On-phone screenshot is included below for reference.

  1. Are we guaranteed that submitting an expiration without a slash will in fact work?
  2. Can we pass some parameter through to braintree-web to make the expiration date display use a normal keyboard? I imagine that some users when confronted with that incongruity will simply give up, because we are a non-profit soliciting donations, not selling products.

braintree-cvv-iphone

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
lilaconleecommented, Jun 14, 2016

@dedman As @evanhahn mentioned above, the latest version of our SDK has formatting in Hosted Fields, which includes automatic insertion of slashes in expiration dates.

If you’re interested in trying it out while it’s in beta, here are some links to official documentation:

Setup for v3 Migrating from v2 to v3 Hosted Fields in v3

0reactions
dedmancommented, Jun 13, 2016

Thanks for the comprehensive explanation @EvanHahn. Not ideal but changing the placeholder is a good enough workaround for now.

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Input type tel causing issue in iPhone - Stack Overflow
Break your expirationDate into two separate expirationMonth and expirationYear fields. If you're interested in the thought process behind this ...
Read more >
<input type="tel"> - HTML: HyperText Markup Language | MDN
The JavaScript is relatively simple — it contains an onchange event handler that, when the <select> value is changed, updates the <input> ...
Read more >
Supported Input Values - Apple Developer
Describes the Hypertext Markup Language (HTML) tags and properties that are supported by Safari and WebKit.
Read more >
Correct the purchase date or expiration date for your ...
If your coverage expiration date is incorrect​​ If the estimated expiration date of your Telephone Technical Support, Limited Warranty, or ...
Read more >
Type with the onscreen keyboard on iPhone - Apple Support
To end a word, lift your finger. You can use either method as you type, and even switch in the middle of a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found