autosuggest for mobile page
autosuggest for mobile page
The following attributes work but it don't get suggested dictionary words on a mobile webpage with Editor:
{
label: "Ad Title:",
name: "CarAds.AdTitle",
attr: {
autocomplete: "on",
autocorrect: "on",
autocapitalize: "on",
spellcheck: true
}
},
Can someone please advise
http://192.81.170.116/carsection.html
Thanks
Mike
This discussion has been closed.
Answers
here is my page. Please test via mobile cell phone
http://192.81.170.116/carsection.html
Hi,
The
autocomplete
attribute of theinput
element indicates ([from MDN)[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input]):What might be happening is that the mobile browser hasn't fully implemented that, or possibly they have intentionally decided not to implement it (due to UI considerations for example - how would you show the list of previous inputs).
I'm afraid that there is little I can do about this in Editor as it looks like a browser issue.
Allan
The following input field attributes work fine on my cell when I use it normally:
<input autocomplete="on" autocorrect="on" autocapitalize="on" spellcheck="true" type="text" name="USER" value="" maxlength="50" />
Here is a small input field example that works fine on my mobile:
http://vta.li
Would it be possible for me to add these attributes manually in your script? If yes, where can it be done.
Please Advise
Thanks!
Very odd - those attributes will be added. I'm wondering if since they are being added using Javascript they aren't working.
I've just used the iOS simulator from Xcode and attached Safari to it - it shows:
for the element, so the attribute is there, but doesn't appear to be acted upon which is a bit odd.
Allan