JDK-8088807 : WebView does not display validation messages
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: fx2.1,9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2011-12-21
  • Updated: 2017-09-13
  • Resolved: 2017-09-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10Resolved
Related Reports
Duplicate :  
Description
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.
Comments
This issue is about enabling HTML5 form validation which is already being tracked in the duplicate bug.
13-09-2017

Reopening to correct Resolution Status
13-09-2017

Issue related to HTML5 form validation. Patch has been checked in for the same with following details: Changeset: 73ace584b9ba Author: ghb Date: 2017-09-11 15:20 +0530 URL: http://hg.openjdk.java.net/openjfx/10-dev/rt/rev/73ace584b9ba
12-09-2017