Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2087

Checkboxes in forms always return "on" (considered as "checked" server-side)

    Details

      Description

      Checkboxes seem to be always checked, because forms.js, in the gatherParameters method, always retrieve the value() of a checkbox. In jQuery val() always returns "on" for a checkbox, checked or not.

      I think forms.js should test if the field is a checkbox and if it is checked, if not, return; on this field, just like it would be on a classic form.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hlship Howard M. Lewis Ship
                Reporter:
                julien1619 Julien Blatecky
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: