Bug Tracker

Modify

Ticket #3527 (closed bug: wontfix)

Opened 5 years ago

Last modified 14 months ago

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:
Blocking: Blocked by:

Description

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

subforms.htm Download (3.0 KB) - added by antix 5 years ago.
sub form issue
subforms.2.htm Download (7.1 KB) - added by antix 5 years ago.
Updated example + patch
subforms.3.htm Download (8.1 KB) - added by antix 5 years ago.
bug fix + css
subforms.4.htm Download (8.8 KB) - added by antix 5 years ago.
missed part of the serializeArray function override in prev
form.elements.htm Download (5.2 KB) - added by antix 5 years ago.
Patch proposal for $.fn.serializeArray, to make IE return the same elements as other browsers

Change History

Changed 5 years ago by antix

sub form issue

comment:1 Changed 5 years ago by antix

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 5 years ago by antix

Updated example + patch

comment:2 Changed 5 years ago by joern

  • Owner set to joern

Changed 5 years ago by antix

bug fix + css

Changed 5 years ago by antix

missed part of the serializeArray function override in prev

Changed 5 years ago by antix

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

comment:3 Changed 4 years ago by joern

  • Status changed from new to closed
  • Resolution set to wontfix

Nested forms aren't supported.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.