I cant seem to add an item in more than 2 columns. I have 3 columns, Employee ID, Employee Name, and Employee Email.
I can add in the Employee ID and the Name, but when adding the email it does not add. No error message too. Please Help.
function register(){
var values = [];
values.push(["EmployeeNumber", $("#tbEmployeeID").val()]);
values.push(["EmployeeName", $("#tbEmployeeName").val()]);
values.push(["EmployeeEmail",$("#tbEmployeeEmail").val()]);
$(function(){
$().SPServices({
operation: "UpdateListItems",
async: false,
listName: "sampleList",
batchCmd: "New",
valuepairs: values,
completefunc: function (xData, Status) {
alert("Completed");
}
});
});
};