Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

Created Unassigned: Multiple Cascade Dropdowns incorrectly update list items [10137]

$
0
0
I have a page with three dropdowns, Account, Contact and Location. When a user selects an account the contact and location list are updated to only show items already linked to the selected account (so only contacts for the selected account are shown). These combos are used to create a new list item.

In IE9 when I select an account the contact and location are correctly updated. However when the form is submitted the same id is submitted for both the account and contact. For example, if I choose contact Joe Bloggs with id 450, and Location London with id 32, when the form is submitted the querystring shows the contact field with an id of 450, and the location field with an id of 450. These are then added to the newly created list item, so the contact is correct, but the location id will either not be recognised or point to the wrong location (if this location happens to have the same id as the contact).

This behaviour is not seen when the SPCascadeDropdowns are used (the ids are associated correctly). The behaviour is also not seen in Firefox 18.


I am using SPServices-0.7.2.min.js and JQuery 1.7. The dropdowns appear in sequence in the page, and the jquery SPCascadeDropdowns functions are run consecutively onready.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>