Skip to Content
avatar image
Former Member

cancel the print

Hello, example, I have: a + b = c. If c = 10 then I have to cancel the print process. I looked at the prePrint event and it doesn't work.

Do you have any idea?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 16, 2016 at 10:51 AM

    use below java script on prePrint event,

    data::prePrint - (JavaScript, client)

    if ( expression ) {

         xfa.event.cancelAction = 1;

    }

    Hope this helps.

    Add comment
    10|10000 characters needed characters exceeded