I have a text field and there is one validation rule(script based) associated with this text field, I want to trigger script only when focus is moved from this text field. Is there any built-in event which I can access in script editor?
Thanks Glenn, I am doing exactly as you said a field with validation property. however my script fires as soon as someone type a letter in the text field. All I want is that it only triggers once user has finished typing and moved to next field.
My use case is to fire a validation script when user completes the input and then moved out of textbox. the built in validation will execute the script as soon as first character is typed in.
If you add a validation in the field's properties then it will work exactly as you are requesting with the addition of when the field value is changes by another script or a calculation, not just a user interaction. We don't have a way to detect whether it is the user interaction or a calculation that has caused this change.
What is the particular use case that you have so we can see if there is a way of doing this within the current framework?