.Net iPhone autofill

I can't seem to get the autofill working on my forms for iPhone etc. (.Net 4.0 Web Site)

I've accessed numerous things online, done it and just never seems to work.

Example...  I tried following instructions Here and I have autofill options in Safari turned on as well.

(Two of my controls...)
<label for="nameoncard">Name on Card</label><br />
<input type="text" id="inpcardname" runat="server" name="nameoncard" class="field" placeholder="Cardholders Name" autocomplete="nameoncard"  />

No prompt for autofill when I go to the page from my iPhone.
Larry Bristersr. DeveloperAsked:
Who is Participating?
 
F IgorDeveloperCommented:
According to the apple support documentation for HTML attributes (https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/Attributes.html#//apple_ref/doc/uid/TP40008058-autocomplete) the only options accepted for autocomplete attribute are "on" and "off". In chrome and other browsers the attribute can receive a form control name to help the browser to guess what kind of information is expected to auto-fill. The common way is turning on autocomplete:

<input type="text" id="inpcardname" runat="server" name="nameoncard" class="field" placeholder="Cardholders Name" autocomplete="on"  />

Open in new window


Have you checked it using Safari or another browser?
0
 
Larry Bristersr. DeveloperAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.