If [$$ValidationMessage =≠""] is not normal coding and I don't understand it. I am guessing you are checking to see if you message is "empty" to tell if there was an error.
If so , remove the ≠ sign.
Check out the logical funtion too.... IsEmpty ( field ) or perhaps a single line logic
If [ tblApplicant:txtName="" OR tblApplicant:txtLastName=""]
Set Field [tblApplicant:txtErrorMessage; "Both First Name and Last Name must be filled!"}
PS: If there continues to be a Mac/Window issue please respond back with FMP and MacOS versions.
Thanks for your reply and help. It was a typo. It is only $$ValidationMessage ≠ "" on my script
I have to set variable to fill in the $$ValidationMessage, because I am checking many more fields, and passing back which fields are left blank by users.
User who has problem is using Mac OS X Version 10.7.5 with Java plugin 1.6 version.
I had problems with your script on pc and mac both failed. I cleared up the problem by changing the if statements with IsEmpty() as Jim stated above.
I tested on Windows 7 PC and Mac OS X Version 10.7.5.
You can test each step by displaying the $$ValidationMessage in a custom dialog box after each if statement.
I couldn't get his coding to FAIL on MacOS 10.7.5 and FMP 11v4. I was about to try FMP12 when I read your Post, S Chamblee. Is this a FMP12 reported error?
So that wild "XXX" insertions is causing the failure.
I'm using fmp 12 advance. I tested the script on a different pc and the script ran fine. I will see if i can repeat the problem and let you know if I can.