Quantcast
Viewing all articles
Browse latest Browse all 6517

Edited Unassigned: SPFilterDropdown - SPServices-2013.01 [10158]

Hi,

I've been trying out different versions of SPServices with different versions of jQuery.

The feature I'm particular interested in has been SPFilterDropdown.

It appears this function is returning the correct list of items, however, it fails to recognize required fields, the default value in the form is always blank (display value, I think) and all the display values are "(undefined)" (except "(None)" of course).

The latest version of SPServices along with the last version of jQuery compatible with IE8 (1.10.2) produces this end result.

![Image](http://i.imgur.com/nSnhZ3h.png)


I should note that I've embedded the script to modify the drop down with a ContentEditor Web Part within the default EditItem.aspx form.

__Here's the code:__
<script type="text/javascript">
$(document).ready( function() {
$().SPServices.SPFilterDropdown({
relationshipWebUrl: "/",
relationshipList: 'Tenders',
relationshipListColumn: 'Collective_x0020__x0023_',
columnName: 'Collective #',
CAMLQuery: '<IsNotNull><FieldRef Name="Location" /></IsNotNull>',
completefunc: null,
debug: true
});
});
</script>

I've also attached an excel spreadsheet outlining my findings with all the tests I've run.

You'll notice that the debug feature in all of these cases with the default EditItem form, has never given me any messages. When attempting to use SPFilterDropdown with a customized edit form SPServices can't find the SPDropDown object and does indeed give me a Debug message (Black popup with info).

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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