Could anyone please explain why my IF statement is not executed as being true
xfa.host.messageBox("tf_Company.rawValue: " + tf_Company.rawValue, "Debugging", 3);
xfa.host.messageBox("tf_Type.rawValue: " + tf_Type.rawValue, "Debugging", 3);
// At this point tf_Company is Integral and
// tf_Type is Modification
// However, the 'if' statement fails and does not display
// "In the IF Statement"
// The "After" is displayed.
if (tf_Type.rawValue == "Modification" && tf_Company.rawValue == "Integral")
{
xfa.host.messageBox("In the IF statement", "Debugging", 3);
tf_Company.rawValue = "TBA";
};
xfa.host.messageBox("After", "Debugging", 3);