What system message you are getting? I used the below code, and this code directly opens a print dialog.xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
This will be your basic calculation code for hours in javascript. Hope this will help. form1.Body.labor_cost.Row1.total::calculate - (JavaScript, both)if (timein.rawValue == 0 || timein.rawValue == null || timeout.rawValue == 0 || timeout.rawValue == null){this.rawValue=0;}else{var timefinished = ti...
Check if you can do anything in script or field pattern. Another alternative is :Take the text field and add the below script in its change event if(isNaN(xfa.event.change)) xfa.event.change = "";if(isNaN(xfa.event.prevText)) xfa.event.change = "";