Add List Item - Not Working

Apr 27, 2012 at 8:40 PM
When I use the below code to add just a title, it works fine:
<script type="text/javascript" language="javascript">

 $().SPServices({
    operation: "UpdateListItems",
    async: false,
    batchCmd: "New",
    listName: "Feedback",
    valuepairs: [["Title", "Name"]],
    completefunc: function(xData, Status) {
      alert("completed");
    }

  });

</script>
However, when I try to add a second or third column, it doesn't give an error, it just doesn't add the list items:
<script type="text/javascript" language="javascript">

 $().SPServices({
    operation: "UpdateListItems",
    async: false,
    batchCmd: "New",
    listName: "Feedback",
    valuepairs: [["Title", "Name"],["firstName","John"]],
    completefunc: function(xData, Status) {
      alert("completed");
    }

  });

</script>

Anybody come across this problem?