I am trying to create a script that pops up a dialog whenever a field that already has a value is being modified. Only problem is I am using a script trigger, so it pops up the message even when the record is blank. How can I make sure that the message only appears whenever a field that has a value is being changed?
The script I'm using is
Show Custom Dialog ["Field Save"; "Are you sure you want to modify this field? A value already exists."]
If[Get(LastMessageChoice) = 2]
Revert Record/Request[No dialog]