Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

My print button and image field buttons wont work for client... HELP!

theoriginalmel
Level 1
Level 1

Hello!

I have a static pdf form that a client would like to PRINT and be able to upload a different logo into an image field when needed.

Upon clicking these (button and field) nothing happens.

Here are the scripts for both:

PRINT BUTTON

form1.#subform[0].PrintButton1::click - (JavaScript, client)

xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);

IMAGE FIELD:

form1.#subform[0].ImageField2::click - (JavaScript, client)

The client and others will probably be using older versions of Adobe, perhaps 8 or even 7, I have no clue. Would this impact?

THANK YOU!

1 Reply
MinusZero
Level 7
Level 7

Have you tried saving the form as a Dynamic form rather than Static?