custom form code looks ok but if you load a record...
# suitescript
c
custom form code looks ok but if you load a record or create a record and you want to use a different form, you have to set that form on the nlobjRecord