June 2, 200916 yr On page 4-5 of the FileMaker Training series book near the bottom it says: "With script triggers that execute prior to the event, you have the ability to cancel the event that triggered the script by using the exit Script script step to return False." I sort of get what is being said but can anyone clarify or have an example of this?
June 2, 200916 yr Here's a simple example: If [ IsEmpty ( Filter ( Get ( TriggerKeystroke ) ; "0123456789" ) ) ] Exit Script [ Result: False ] End If If you set a field to run this script OnObjectKeystroke, users will be able to enter numeric characters only - any other character typed into the field will be ignored.
Create an account or sign in to comment