AnsweredAssumed Answered

Popup date picker disappears on iPad

Question asked by padaddy on Nov 2, 2012
Latest reply on Nov 6, 2012 by padaddy

I have a solution where I have a date field placed off of the layout. For various reasons I display the date value using a merge field on the main part of the layout. Some background: I'm intentionally placing the date field off of the layout, because whenever an editable field is selected on layout, a selection box twice the height of the field appears. This is visually confusing, and so I've made a habit of using merge fields on layout, and putting my editable fields off layout.

 

In this particular instance, when the user taps on the date merge field, a script trigger selects the "off-layout" date field. When this date field is selected, the IOS date picker pops up automatically. This works great on the iPhone. But on the iPad the behavior seems different.

 

On the iPad, the date picker pops up as it should, but then the keyboard pops up next, and then the date picker disappears. I've noticed that the iPad keyboard has 3 buttons on top - Previous, Next, and a 3rd button. Hitting the 3rd button will toggle the date picker on and off. But obviously I don't want it to keep turning off by itself.

 

If I place the "off-layout" field onto the main layout area, the date picker does not disappear, but remains as it should, but I get the ugly and confusing selection box around the field. Any ideas for why the iPhone and iPad behavior are different? Is there a bug? Is there some way of controlling how the date picker appears?

Outcomes