0

How to insert multi line text data into share point list using spservices. I have tried beloow code but its not working

 $().SPServices({
        operation: "UpdateListItems",
        async: false,
        listName: "List",
        ID: ticketid,
        valuepairs: [["Feedback", multifeedback]],
        completefunc: function (xData, Status) {

        }
    });

Design:

<textarea class="multiline" id="multifeedback" ></textarea>

1 Answer 1

0

You can't just say multifeedback in your value pair. You'd have to do:

$().SPServices({
        operation: "UpdateListItems",
        async: false,
        listName: "List",
        ID: ticketid,
        valuepairs: [["Feedback", $("#multifeedback").val()]],
        completefunc: function (xData, Status) {

        }
    });
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.