Thanks for the suggestion, but my if statement still fails to execute properly after I changed my form properties to:and changed my code to:if (xfa.host.title == "MC-050") then { xfa.host.messageBox("In == mc050, UPPERcase p section ALNvali.","Error"); // vhWhat happens is that the comparison I make...