Re: iphone & php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Stuart Dallas" <stuart@xxxxxxxx> wrote in message 
news:797E930F-368C-43D1-8159-9608B6D53486@xxxxxxxx...
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.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux