Place this in the Record Field's SaveEdit PeopleCode.
If None(GetField().Value) Then
GetField().SetCursorPos(%Page);
GetField().Style = "PSERROR";
Error MsgGet(15, 30, "Highlighted fields are required.");
Else
GetField().Style = "PSEDITBOX";
End-If;
0 comments:
Post a Comment