Date Time Expected validation error for Past/Present value in DateTime Widget in IOS

Date Time Expected validation error for Past/Present value in DateTime Widget in IOS

  

Hi Guys,

Anyone encountered "datetime expected" validation error in ios device (.ipa installed)? But when set to future date the validation error disappeared. Please advice how to resolve this.

By the way this only on ios. In android it works fine.


Hi Rian,

What is meant by when set to future date the validation error disappeared?

Have you checked this?


May be you have set your attribute data type as datetime and only selecting date from the calendar control. 

Thanks and Regards,

Suraj Borade

Suraj Borade wrote:

Hi Rian,

What is meant by when set to future date the validation error disappeared?

Have you checked this?


May be you have set your attribute data type as datetime and only selecting date from the calendar control. 

Thanks and Regards,

Suraj Borade

Hi Suraj,

This only happens in ios devices as it shows a different format in android. The time part is selected. I've managed to just apply custom validation where if the value of datetime input field is empty or "1900-00-00 00:00:00" (the default value) it will throw validation error. If not, it will resume saving.

Thanks!


So it seems that there is problem in inbuilt validation in iOs since custom validations are working.