Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread iPhone keyboards
Thu, Mar 14 2013 5:07 AMPermanent Link

Matthew Jones

I noticed today that I filled in an edit field on an iPhone for an email
subscription, and it showed the iPhone email keyboard, not the normal one. It would
be nice to be able to add whatever tag is needed in EWB, even if by a programming
hack.

/Matthew Jones/
Thu, Mar 14 2013 8:55 AMPermanent Link

Raul

Globestar Systems

Team Elevate Team Elevate


I believe this is controlled by the type tag of the input element (e.g.
<input type="email"... ) so we'd need a way to specify type for TEdit.

Types list could include email, number, tel and url which all give
different keyboards for the edit boxes.

The underlying THTMLInputElement does seem to have the type property
present in framework but it's not really accessible at this time from
TEdit direct (protected one).

One could derive a class from TEdit and then allow access to the Input
element to set the type but access from TEdit direct would be even easier.

Raul


On 3/14/2013 5:07 AM, (Matthew Jones) wrote:
> I noticed today that I filled in an edit field on an iPhone for an email
> subscription, and it showed the iPhone email keyboard, not the normal one. It would
> be nice to be able to add whatever tag is needed in EWB, even if by a programming
> hack.
>
> /Matthew Jones/
>
Thu, Mar 14 2013 12:43 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Raul,

<< Types list could include email, number, tel and url which all give
different keyboards for the edit boxes. >>

I'll see about adding some more types.

<< One could derive a class from TEdit and then allow access to the Input
element to set the type but access from TEdit direct would be even easier.
>>

You have to be careful with this since certain browsers like IE have issues
with changing the type at runtime, and instead require that all elements be
recreated when the type is changed.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Image