Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20209

Save button submits fields from disabled fieldsets

    XMLWordPrintable

Details

    • Easy
    • N/A
    • N/A

    Description

      You can reproduce by inserting a disabled fieldset element (with some fields inside that are not disabled) either in a class sheet (like the one created by AWM) or in an administration section (code to execute):

      {{html clean="false"}}
      <fieldset disabled="disabled">
        <input type="text" name="test" value="shouldNotBeSubmitted" />
      </fieldset>
      {{/html}}
      

      Clicking on the standard (AJAX) Save (& Continue) button shouldn't submit the fields from the disabled fieldset, but it does.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: