Yii Framework Forum: Cactiveform->Telfield() - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Cactiveform->Telfield() Rate Topic: -----

#1 User is offline   Magical7 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 04-July 13

Posted 15 July 2013 - 07:49 AM

I ran into a problem with using Yii in Chrome: I want to create a form field for a telephone number. I first made it a numberField, but Chrome does not allow the use of "+", which makes this option not possible. However, a textField has limited usability on mobile devices, which have optimizations for filling in numeric fields.

The solution would be to use the type="tel" input field, but Yii has no support for generating that yet, while it seems like a basic piece of functionality.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users