Numeric Fields by mobile Apps

Use this board to ask questions or have discussions with other Rich Displays users.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Numeric Fields by mobile Apps

Post by Scott Klement »

When I use the input type = date on my iPad, it does not show on the screen in YYYY-MM-DD format. Instead, it brings up the iOS native date picker that gives me dials to select the day, month and year.

Is it showing up as a YYYY-MM-DD string for you? Which browser are you using?
kfritz
Profound User
Posts: 64
Joined: Thu Aug 04, 2011 4:53 am
First Name: Karl
Last Name: Fritz
Company Name: Logic IT Services
Address 1: Fluhgasse 141
City: Laufenburg
Zip / Postal Code: 5080
Country: Switzerland
Location: Switzerland
Contact:

Re: Numeric Fields by mobile Apps

Post by kfritz »

Scott,

Yes, it does(both) FF and Chrome, Android 4.3.
Chrome brings up a date picker like the IOS, FF a calendar popup (similar PUI's).
Field Definition:
Image
Image

btw.
Is it correct, that the mobile client uses a different formatted signon screen?
As it seems, it takes the changed "signonscrn", but applies the blue panel style.
(I changed the signonscrn to an own, "black-panel-style" = common signon).
Image

Thanks,
Karl
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Numeric Fields by mobile Apps

Post by Scott Klement »

Unfortunately, there's nothing we can do about the way a browser displays input type = date. The HTML5 spec says that the date is transferred as YYYY-MM-DD over the network, but it's up to the browser to determine how it should be displayed to the user. The HTML5 standard is documented here:
http://dev.w3.org/html5/markup/input.date.html
http://tools.ietf.org/html/rfc3339

If the browser chooses to display it in YYYY-MM-DD fashion, there's not much we can do about it. Here is information about how it's handled in Chrome, which seems to have the best support of the desktop browsers at the moment. It will show the date in your local calendar format:
https://plus.google.com/102860501900098 ... TcMLVNKnec

And here's a list of the different versions of the browser, and what level of support they have:
http://caniuse.com/input-datetime

So, it looks like a lot of browsers are lagging behind on supporting this. Perhaps you will need to use our date widget or somethng of your own design rather than the "input type" solution?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests