Suppose I have the following HTML page:
<html>
<body>
<h3>validationMsgValueMissing</h3>
<form onsubmit="return false;">
<p>
Required form control element: <input type="text" required/>
<input type="submit"/>
</p>
</form>
</body>
</html>
If I open it in e.g. Chrome and click "Submit", Chrome will display a validation message, as in the attached screenshot.
WebView, on the other hand, will not display any messages.
<html>
<body>
<h3>validationMsgValueMissing</h3>
<form onsubmit="return false;">
<p>
Required form control element: <input type="text" required/>
<input type="submit"/>
</p>
</form>
</body>
</html>
If I open it in e.g. Chrome and click "Submit", Chrome will display a validation message, as in the attached screenshot.
WebView, on the other hand, will not display any messages.
- duplicates
-
JDK-8089124 HTML5: Number input allows non-numeric input
- Resolved