Sep 1, 2015 at 12:28 PM
Edited Sep 1, 2015 at 12:34 PM
I have two SPCascadeDropdowns functions on the same form (Editform), but the selections from the first one are never saved.
The call is in a very basic format..
The two columns are set up to be multivalued look ups.
Both functions work well in that they present the correct cascade values. However, on save, only the selected values from the second lookup are stored.
I have put a breakpoint in a presaveaction function, and put in some jquery to see what was in the two variables. The first variable had a repeating value of <nnn>#;<text>, with all the correctly selected options. The second one had a repeating
value of <nnn>|t<text>, with all the correctly selected options.
I suspect that the value was not stored as it was not in the correct format (the one with the #; format was not stored). I will add some jquery to reformat the string, and see if that makes any difference.
I also added in two commands SPSetMultiSelectSizes for each of the drop downs
multiSelectColumn: "Web Service Operation"
Selection boxes for the first one appeared extremely small (3 characters wide) and the boxes for the second drop down were extremely large (?500 characters wide), so it seems that the SPSetMultiSelectSizes function is having a similar problem in being able
to process the #; delimiters versus the |t delimiters
SPservices version 2014.02
and jQuery v1.11.3
Any clues on what may be happening?