I have created a pop-up menu which has three value:
I have attached onObjectValidate script trigger on this pop-up menu and it returns false when the user selects Undecided.
Here's the problem:
If the field's value is already "Yes" and the user changes it to "Undecided" then the OnObjectValidate shows error prompt and the field still shows "Yes". However, when user tries to exit out of the field the OnObjectValidate throws error prompt again. This continues until the user specifically selects Yes again.
What I want is, if the user selects "undecided" then the OnObjectValidate show error and keep the old value and let the user exit out of the field.
How can I do that?