I am quite new to HTML5 Design and I am wondering if anyone has run into this issue before.
I have a HTML5 form with some required fields which need to be validated after I click the Print button. I came up with the script below; however, it kept going to the loop even though I have entered the required data. Using the HTTP Submit Button will go through all required fields but it does not bring up the Print Dialog.
if(xfa.host.appType == "HTML 5" or emplid.rawValue == null) then
xfa.host.messageBox("You must enter the required data to be able to print this form")