Page 1 of 1

Date/Time Picker

Posted: Mon Jun 17, 2013 9:40 pm
by George Van Wormer5962866

I am using a date/time picker with the input drag and drop that uses the devices native date/time picker. I'm have trouble getting this to work on older Android devices even after I update them. Is there any solution to giving all users the ability to select a date and time of day?


Date/Time Picker

Posted: Mon Jun 17, 2013 9:49 pm
by Igor

Hello ,

Please clarify what Android version do you use? Also can you provide more description about what trouble do you get?


Date/Time Picker

Posted: Mon Jun 17, 2013 9:56 pm
by George Van Wormer5962866

In the input drag and drop I'm using datetime-local which activates the native mobiscroll on the user's device. It works on the iPhone and Galaxy SIII (Android version 4.1.2).

However, when using an HTC (Android version 4.0.3) and HTC Incredible (Android version 2.3.4), no scroll feature pops up. Instead, the native keyboard appears.


Date/Time Picker

Posted: Mon Jun 17, 2013 11:36 pm
by Igor

Most likely it's PhoneGap issue and it doesn't work on older Android platforms.


Date/Time Picker

Posted: Tue Jun 18, 2013 12:06 am
by George Van Wormer5962866

And ideas on alternatives that would provide a date and a time select option?


Date/Time Picker

Posted: Tue Jun 18, 2013 2:06 am
by Igor

You can use "Mobiscroll Date and Time" plugin.


Date/Time Picker

Posted: Tue Jun 25, 2013 3:36 am
by George Van Wormer5962866

I like the combined "Mobiscroll Date and Time" plugin that has both date and time in one. How do I add the plugin to save the entered date and time to the database. It doesn't seem to appear in the mapping.


Date/Time Picker

Posted: Tue Jun 25, 2013 7:30 am
by Anton Artyukh5836028

Hi George,

Add "Mobiscroll Date and Time" as additional resource. With JavaScript you can save selected date/time to the localStorage and then apply them for mapping.

But first, you must create those localStorage variables in builder, for example on Load event set some values to them, after that you'll find them in mapping.