Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8092195

HTML 5 attribute "required" not working JavaFX Webview Webengine

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7u6, 9
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      Java, Swing, Integrating javaFX webengine in Swing application, JDK1.6.41

    • Subcomponent:
      web

      Description

      The HTML5 attribute for input tag "required" is not working in the JavaFX webview webengine.
       
       
      Username: <input type="text" name="usrname" required="required" >
       
       
      When the html page that has this attribute is loaded in webengine and submitted it not generating the "Please fill out this field". The form is getting submitted and the next page is loaded
       
      I was reading online JavaFX 2.2 supports HTML 5 but this attribute is not working. Can any one help me to fix this issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rkamath Rajath Kamath
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: