check for is NOT new record in client script

dianeled
Kilo Guru

I know how to check if a record is new in a client script by using g_form.isNewRecord(), but I want to check if the record is not new. Can anyone tell me how to do that? I'm trying to make work notes mandatory on AG change, but only if the incident is not new. State is not a viable option as sometimes the incident stays in the new state and gets an AG change. Thanks!

1 ACCEPTED SOLUTION

dvp
Mega Sage
Mega Sage

Simply use

!g_form.isNewRecord()

View solution in original post

1 REPLY 1

dvp
Mega Sage
Mega Sage

Simply use

!g_form.isNewRecord()