I have a suitelet using suitescript 2 that sets so...
# suitescript
k
I have a suitelet using suitescript 2 that sets some defaultvalue on fields but I also want to make the same fields mandatory incase the defaultvalue is cleared. But I have not been successful in doing this. Any suggestions? I have set mandatory using a client script using
field.isMandatory = true
but if the value is cleared by the user it does not respect the mandatory validation