Hi there. I am trying to prevent a cursor from moving to the next field if there is an error:
Two dates fields are passed as parameters to a script that compares them and issues an error if date2 precedes date1
The script is triggered in Set Script Triggers of the field date2 (I've tried OnObjectSave and OnObjectExit)
If(GetValue(Get(ScriptParameter);1) < GetValue(Get(ScriptParameter);2)
Go Previous Field (I've also tried go to field)
Every time the cursor jumps to the next field, rather that staying on the offending field or jumping to the previous one...
What am I doing wrong?