'formmethod' and related properties do not function as expected

Confirmed Issue #8209260 • Assigned to Kris K.

Details

Author
Derek G.
Created
Jul 18, 2016
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Make a simple HTML document with the following:
<form action="/some/path" enctype="multipart/form-data" method="post" novalidate="novalidate" target="_blank">
    <button id="the-submit-button" type="submit">Submit</button>
</form>
  1. Inspect the button element:
var button = document.getElementById('the-submit-button');
console.log(button.formAction); // ""
console.log(button.formEnctype); // "application/x-www-url-formencoded"
console.log(button.formMethod); // "GET"
console.log(button.formNoValidate); // false
console.log(button.formTarget); // ""

The ‘other browsers’ all behave correctly, i.e., the values of those properties default to the values of the corresponding properties of their owner form. IE11 and Edge both exhibit this unwanted behavior.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Travis L.”

      Changed Title from “'formmethod' and related properties do not function as expected” to “'formmethod' and related properties do not function as expected”

      Changed Assigned To from “Travis L.” to “Eugene V.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Eugene V.” to “Kris K.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in