Francesco
Posts: 0
Joined: Thu Jan 10, 2013 8:45 am

List from rest working on desktop but neither on mobile tester nor as apk

is there a way to set the format of a input (type date) field.
i tried to change the server side of my rest in order to accept data in the form of dd/mm/yy to test the tiggzi's datapicker component but it still doesn't work on my mobile using Tiggzi Tester .
I would like to use the input field with type date (to use the native date picker of my mobile) but I don't know how to set the date format for this input field to dd/mm/yy

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

List from rest working on desktop but neither on mobile tester nor as apk

Hello,

Due to HTML specification (http://dev.w3.org/html5/markup/input....), input component value with type="date" will always be in format YYYY-MM-DD. When component is used in mapping - data will be sent to server in this format.

But you can add JavaScript in Data mapping to set any date format you would like to use.

Return to “Issues”