Skip to main content

Bug Tracker

Side navigation

#3527 closed bug (wontfix)

Opened October 27, 2008 08:03PM UTC

Closed June 10, 2009 09:49AM UTC

Last modified March 14, 2012 11:24PM UTC

jquery validate picks up sub form elements in ie, causing error 'settings' is null or not an object

Reported by: antix Owned by: joern
Priority: major Milestone: 1.3
Component: plugin Version: 1.2.6
Keywords: IE, validation, sub-form Cc:
Blocked by: Blocking:

When a form contains a sub form the above error results from validation

  • IE only

See attached, in IE

* click submit first, no problem

* choose an item, to move the details form to the list form, click submit again

Attachments (5)
  • form.elements.htm (5.2 KB) - added by antix October 31, 2008 12:27PM UTC.

    Patch proposal for $.fn.serializeArray, to make IE return the same elements as other browsers

  • subforms.2.htm (7.1 KB) - added by antix October 28, 2008 11:15AM UTC.

    Updated example + patch

  • subforms.3.htm (8.1 KB) - added by antix October 28, 2008 12:41PM UTC.

    bug fix + css

  • subforms.4.htm (8.8 KB) - added by antix October 31, 2008 10:55AM UTC.

    missed part of the serializeArray function override in prev

  • subforms.htm (3.0 KB) - added by antix October 27, 2008 08:03PM UTC.

    sub form issue

Change History (3)

Changed October 28, 2008 11:14AM UTC by antix comment:1

Attached is the updated example, with a patch for element selection in a form.

This should bring IE in line with other browsers and should be called instead of form.elements.

Changed October 28, 2008 11:39AM UTC by joern comment:2

owner: → joern

Changed June 10, 2009 09:49AM UTC by joern comment:3

resolution: → wontfix
status: newclosed

Nested forms aren't supported.