Re: iphone & php
| From: | Jim Giner | Date: | Mon, 05 Mar 2012 18:22:57 +0000 |
| Subject: | Re: iphone & php | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316909@lists.php.net to get a copy of this message | ||
"Stuart Dallas" <stuart@3ft9.com> wrote in message
news:797E930F-368C-43D1-8159-9608B6D53486@3ft9.com...
On 5 Mar 2012, at 18:12, Jim Giner wrote:
>>> Okay - here's the scoop - although this is not the forum for it.
>>>
>>> Ipads and Iphones respect an html input tag's type="number" attribute
>>> in
>>> order to trigger the device's different keyboard configurations. This
>>> is a
>>> neat trick that I found on a couple of apple-related sites and has been
>>>
>>> working fine. I just now removed that from my code that generates the
>>> html
>>> and Voila - problem gone. Apparently Safari has been modified recently
>>> is
>>> my guess.
>>>
>>>
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>> What format was your date in? It was my understanding that only numerical
>> characters with a preceeeding sign and decimal point was allowed? I would
>> expect a date to be in the form dd/mm/yyyy or dd-mm-yyyy (allowing for
>> swapping months and days of course) but neither is a valid number.
>>
>> Thanks,
>> Ash
>> http://ashleysheridan.co.uk
>
> My entry is valid - mm/dd/yyyy. Works great on teh ipad, not the iphone
I might be wrong, but I think Ash was actually asking why the hell a date
field had that type attribute set to number. That's just messed up!!
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
Cause it triggers the iphone to pop up a non-alpha keyboard which makes
entering a data field easier (you don't have to explicitly switch to it with
a keypress). The default kyb is an all-alpha one.