For those coding monster out there, hope you can debug this one for me.
On a javascript file that is attached to a marketing ONLINE form. I wrote this:
var senderRecord = nlapiCreateRecord('customrecord220');
senderRecord.setFieldValue('custrecord69', sender);
id = nlapiSubmitRecord(senderRecord, true);
Then, I keep getting a javascript error saying "Object expected"
Why?