cancel
Showing results for 
Search instead for 
Did you mean: 

cancel the print

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

prajeshdesai
Contributor
0 Kudos

use below java script on prePrint event,


data::prePrint - (JavaScript, client)

if ( expression ) {

     xfa.event.cancelAction = 1;

}

Hope this helps.