SPServices.SPFilterDropdown not saving properly

Aug 19, 2013 at 7:48 PM
I am currently using this function to filter the items available in a look-up column, which allows multiple values, that points to a parent list. The CAMLQuery works perfectly and filters out the correct items; however, if I save the form after selecting multiple choices from the available options only the first item in the selected list is saved. Anyone have an idea as to why this is happening? Here is my code for the Filter function:

       relationshipList: "{XXXXXX}",
       relationshipListColumn: "Title",
       columnName: "Project Status",
       CAMLQuery: "<Eq><FieldRef Name=FieldName' /><Value Type='radio'>FieldValue</Value></Eq>",
       debug: true
Aug 30, 2013 at 7:53 PM
It doesn't look like your CAMLQuery is valid. What are you trying to do there?

Aug 30, 2013 at 8:34 PM
I wanted to only make visible certain options in the multi-choice dropdown lookup column. Can you expand on how my CAML Query may be invalid?
Aug 30, 2013 at 8:37 PM
Edited Aug 30, 2013 at 8:37 PM
"<Eq><FieldRef Name=FieldName' /><Value Type='radio'>FieldValue</Value></Eq>"

This says that you want to filter for items where the column FieldName has the value FieldValue. Also, Type='radio' isn't valid in CAML.