you can set the 3rd param in the nlapiSubmitField ...
# suitescript
c
you can set the 3rd param in the nlapiSubmitField to false that ignores mandatory fields