George Van Wormer5962866
Posts: 0
Joined: Mon Jun 17, 2013 9:40 pm

Date/Time Picker

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?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Date/Time Picker

Hello ,

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

George Van Wormer5962866
Posts: 0
Joined: Mon Jun 17, 2013 9:40 pm

Date/Time Picker

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.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Date/Time Picker

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

George Van Wormer5962866
Posts: 0
Joined: Mon Jun 17, 2013 9:40 pm

Date/Time Picker

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

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Date/Time Picker

You can use "Mobiscroll Date and Time" plugin.

George Van Wormer5962866
Posts: 0
Joined: Mon Jun 17, 2013 9:40 pm

Date/Time Picker

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.

Anton Artyukh5836028
Posts: 0
Joined: Wed May 08, 2013 12:57 pm

Date/Time Picker

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.

Return to “Issues”