Hello, how do I set the value for a checkbox field...
# suitescript
p
Hello, how do I set the value for a checkbox field to true? licensecomp.setValue({fieldId: 'vsoedelivered',value: 'T'});
e
in Suistescript 2.0 you need to use true boolean value instead of 'T'
c
Copy code
licensecomp.setValue({
    fieldId: 'vsoedelivered', 
    value: true
});
licenseComp (camel case) is a nicer name for that variable too. That's a flame war though.