did you try:
2. In the script, set a global variable
=> add a script step 'Commit' AND/OR 'Refresh'
then test for the global variable value, display a message if the global variable value is as set.
Thank you for your post.
I am unable to replicate the issue. This is what I have done:
1. I created a database file with one text field "Name".
2. I added one record and entered the value "TSGal" in the Name field.
3. I created a script "TEST" with the following script steps:
Set Variable [ $$global ; Value: "TSGal" ]
If [ Table::Name = $$global ]
Show Custom Dialog [ "Name Exists" ; "Name Exists" ]
4. In Layout mode, I selected the Name field, pulled down the Format menu and selected "Set Script Triggers...".
5. I checked the OnObjectEnter event and selected the script "TEST"
6. I returned to Browse mode, put my cursor in the field, and the Show Custom Dialog box appeared.
7. I closed the file, and moved the file to an iPad via iTunes.
8. I launched FileMaker Go 14.0.3, opened the file, put my cursor in the Name field, and the Show Custom Dialog box appeared.
Let me know what I'm doing differently than you so I can replicate the issue.
Thanks for checking this out TSGal,
I will take a look tomorrow, as well as looking at the original solution wherein I found the problem. I'll ensure I can reliably replicate the problem and I'll send the solution over.