ALL BUSINESS
COMIDA
DIRECTORIES
EDUCATIONAL
ENTERTAINMENT
FASHION TIPS
FINER THINGS
FREE CREATOR TOOLS
HEALTH
MARKETPLACE
MEMBER's ONLY
MONEY MATTER$
MOTIVATIONAL
NEWS & WEATHER
TECHNOLOGIA
TELEVISION NETWORKS
USA VOTES 2024
VIDEOS
INVESTOR RELATIONS
IN DEVELOPMENT
Posted by - Latinos MediaSyndication -
on - September 25, 2023 -
Filed in - Technology -
-
387 Views - 0 Comments - 0 Likes - 0 Reviews
I am currently working on an HTML form that includes fields for user address information such as name, street, zip, and city. The form utilizes W3C autocomplete attributes to facilitate autofill. While testing, I observed that the autofill feature works seamlessly on Android and Windows platforms, but encounters issues on iOS, specifically with Safari.
Here’s a simplified version of my form fields with the autocomplete attributes:
<form action="/submit" method="post"> <input type="text" name="name" autocomplete="name" placeholder="Name"> <input type="text" name="street" autocomplete="address-line1" placeholder="Street"> <input type="text" name="city" autocomplete="address-level2" placeholder="City"> <input type="text" name="zip" autocomplete="postal-code" placeholder="Zip Code"> <input type="submit" value="Submit"> </form>
On Safari, when a user selects a contact for autofill, the street and zip fields are not populated simultaneously with the other fields. However, when clicking into the street or zip field individually, Safari proposes the autofill contact again and fills in the data correctly.
I have ensured that all details of the contact information used for autofill are set to "Business" and contains complete and correctly formatted address information. I have also tried using both address-line1 and street-address for the street field, but the issue persists. I have tried on several iphones, everywhere the same effect.
I expect all available fields to be filled when the user clicks into one field, eg "Name" and then selects the configured autofill-contact.
Is this some kind of weird safety policy to not fill in everything?