I think you are missing the point of   it...
# suitescript
n
I think you are missing the point of   it's a blank space. So you will need to use nlapiSetFieldText('fieldId',' '); It may seem same but there is a space in there. I haven't tried this but I think this should work.