On a suitlet form, how would I make one field mand...
# suitescript
n
On a suitlet form, how would I make one field mandatory if another is cheched? Kind of like on click/on change of check box make field mandatory.
b
add a client script and use the fieldChanged entry point to conditionally set the field's isMandatory key
n
@battk is there any other way to deal with this without creating a new script? Right now I am having issues because it uses the default value from last submit instead of what is newly selected.
b
not that i know of, suitelets arent known for being dynamic
n
great, thanks