I
IramK
Guest
Hello, I am trying to set the date of a record using the rbf_updateRecord() function but its staying empty when I use the code below. var currentDate = new Date(); var arr = []; arr.dateField = currentDate; // Doesn't work rbf_updateRecord("object", id, arr, true, function postUpdateCallback() { alert("Done"); } When I use the code below it works so I'm thinking its something to do with the format. How can I know the format that I am supposed to set in a portal page? arr.dateField = "29/06/2016, 15:28"; // Works Cheers. Iram
Continue reading...
Continue reading...