I have an exclusion group with an on empty message set. I have a print button with the following javascript code to check if any field with an empty message isn’t set: var txt = topmostSubform.execValidate(); if (txt == true){ xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, ...