Skip to main content
Participant
September 12, 2017
Question

Help create script in print button

  • September 12, 2017
  • 2 replies
  • 424 views

Hi, please help me.

i create a button and input under script, it's run when click button:

var pp = this.getPrintParams();

pp.firstPage = this.pageNum;

pp.lastPage = pp.firstPage;

pp.interactive = pp.constants.interactionLevel.full;

this.print(pp);

When i create sercurity for that file and dissable default print then it not working.

How to validate form before print document?

This topic has been closed for replies.

2 replies

Legend
September 13, 2017

You can't.

Legend
September 12, 2017

To run scripts, security must allow form filling.

Participant
September 13, 2017

How to enable security from javascript? i have password for edit field.