Cancel Print Preview Event When Field Blank

Hi all

I am struggling with a Kinetic event. I have a BAQ report where users need to enter a Job Number and submit the report to print a label. If the users leave the field empty, the report gets submitted and every MTO job gets selected in the report.

What I want to do is, before the report is submitted, check that a job number has been entered, provide an error and cancel the submission

I can get my message reported when the job number is blank, but it just carries on and submited the report when I click ok to the message.

I am currently triggering on before printpreview. I tried On Click but can’t get that one to stick at all.

Would appreciate any suggestions.

Thanks Marty

If its a baq report, why not just make the job number a required parameter in the baq?

We had it working perfectly in classic.

Try the exit widget.

Thanks Alisa. That worked perfectly.

Actually had a couple of things wrong in the message setup.

I appreciate the help!

1 Like