SISBLU Software Posted November 26, 2020 Share Posted November 26, 2020 Hello, I have this function on the button to print and ITS WORK function click(sender, e, eOpts) { var frm = UniFPrint.UniURLFrame1.iframe; if (frm) { printIframe(frm); } } ---------------------------- I want to do a conditional, how can I do? function frameload(sender, frame, eOpts) { var frm = UniFPrint.UniURLFrame1.iframe; var Imprimir = UniFPrint.UniEdit1.text; if (Imprimir == 1){ if (frm) { printIframe(frm); } } } Quote Link to comment Share on other sites More sharing options...
SISBLU Software Posted November 26, 2020 Author Share Posted November 26, 2020 I solved function frameload(sender, frame, eOpts) { var frm = UniFPrint.UniURLFrame1.iframe; var Imprimir = UniFPrint.UniEdit1.getValue(); if (Imprimir == 1){ if (frm) { printIframe(frm); } } } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.