Hi All,
I have two lists. One is of type 'List/Record' and other is of type 'Multiple Select'.
My first question is: Can we select an item in a 'Multiple select' list? We can select an item in a normal 'List/Record' by using nlapiSetFieldValue(). Can we do the same in 'Multiple Select' list?
function selectSomething(type,name) { if(name == 'custrecord_select_an_item') { nlapiSetFieldValue('custrecord147',92);//'custrecord147' is the multiple select list and 92 is the internal id of the item. } }If I execute the above code in FireFox, I get an error 'val.join is not a function'. I used Firebug to track the error.My second question is: Can we disable a particular item in a list? We can disable a field using nlapiDisableField(). Can we do the same to disable a particular item alone in a list?