Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

283
Views
How to get iPhone to suggest my phone number in a form?

When I on a form and the focus is on the phone number field, iPhone will sometime suggest my phone number just above the keyboard. Like in the image below.

I am trying to implement this functionality via inputmode and type=tel,

<input type="tel" inputmode="tel" />

but my phone number doesn't show up above the keyboard. Where as on other websites, it sometimes does.

Is there an attribute or css rule that enables this functionality?

enter image description here

P.S. After an assist from the folks answering this question, it seems that autocomplete="tel" works to a certain degree. I found the following with iOS 15.2:

  • You must have your phone number entered in your own contact. And that contact must be selected in Settings/Siri & Search/My Information. Otherwise the phone number is not suggested.
  • If you recently received a 2FA code as text, iPhone will suggest it instead of the phone number for a while. Deleting the 2FA text and restarting Safari will get the phone number suggestion to come back.
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Have you tried enabling/disabling autocomplete on the input?

    <input type="tel" inputmode="tel" autocomplete="on"/>
about 4 years ago · Juan Pablo Isaza Report

0

Yes. Use the autocomplete attribute.

<input autocomplete=tel type=tel inputmode=tel>

Possible attribute values for a telephone input are:

  • "on": The browser is allowed to automatically complete the input. No guidance is provided as to the type of data expected in the field, so the browser may use its own judgement.
  • "tel": A full telephone number, including the country code. If you need to break the phone number up into its components, you can use these values for those fields
  • "tel-country-code": The country code, such as "1" for the United States, Canada, and other areas in North America and parts of the Caribbean.
  • "tel-national": The entire phone number without the country code component, including a country-internal prefix. For the phone number "1-855-555-6502", this field's value would be "855-555-6502".
  • "tel-area-code": The area code, with any country-internal prefix applied if appropriate.
  • "tel-local": The phone number without the country or area code. This can be split further into two parts, for phone numbers which have an exchange number and then a number within the exchange. For the phone number "555-6502", use
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!