PDA

View Full Version : [CLOSED] Time field manual entry



mohan.bizbites
Nov 16, 2013, 6:24 AM
Hi team,
we need the following functionality in our project ,
user can enter time manually in time field , if he didn't enter Colons, time field takes it automatically .
But it is working up to 12 hr , not working from 13 hr
Example:
User entered like 1224 in time field , time field including Colons between 12 and 24 and showing 12:24
if user enter 1320 then it is showing as it is (not including Colons , and showing error)

please check the following example
http://examples2.ext.net/#/Form/TimeField/Overview/

7217

Thanks in advance ,
Mohan

geoffrey.mcgill
Nov 16, 2013, 6:32 AM
How about just using a TextField, then adding your own custom formatting logic when the field is blurred?

I don't think the TimeField would be able to do that kind of conditional formatting.