I'm creating a suitelet for custom record entry of...
# suitescript
r
I'm creating a suitelet for custom record entry of case surveys. Users won't have access to the record, so I'm creating a suitelet with admin access. How can I make fields required? I'm used to using alerts in a UE script, but I'm not sure if there's any way to change field properties or prevent submission if required fields are not filled out.
s
When making the fields with serverWidget there is an isMandatory property you tag on after the field is created. You could also make them mandatory in a client script if the mandatory-ness is dynamic.
r
I see that now. Thanks