Hi All,
I'm doing a validation before printing. What I'm trying to do is to validate if the JobCard field has a numerical length less than or more than 12, alert user but it wont alert. Second validation is that once it has verified that the number length = 12 then check if the number entered starts with 5300100 or 5300200 then pint, for doing this I don't know what code to use.
This is the only code I could work out on my own:
if (this.resolveNode("JobCard").value < 12 || this.resolveNode("JobCard").value > 12){
xfa.host.message("Invalid Value")
}
Sorry but I'm not a programmer. I have set the JobCard field as float (so when number is entered it wont use a coma separator if more than 4 numbers) and not integer.
Also is there a way to not show the Print Cancelled dialog box that shows automatically when print is cancelled.
Thank You