Wednesday, June 21, 2017

Mobile Safari (10.3.1) DateTime-Local “Enter a Valid Value” Error

Leave a Comment

I'm getting an error on the newer versions of iOS' Mobile Safari. This error didn't happen prior to version 10.3 of iOS. Can someone point me in the right direction on this?

Here's the raw HTML and attached are the inspected view and the view of the mobile device (iPhone 7).

Inspector View iPhone 7 View

2 Answers

Answers 1

Seems it's a bug in Safari, but you can skip it by using javascript to submit the form.

$("#new_apply_form").submit();

Answers 2

It is a bug in Safari. You should use JS to submit the form instead. JS: form.submit();

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment