Expand my Community achievements bar.

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

Avatar

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

Avatar

Level 7

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