Events not working


hello everyone.

i'm new adobe forgive ignorance. have fair bit of coding experience though.

my problem this:

i'm trying started designer. have button who's caption i'm trying change when clicked.

the line of code this:
button1.caption.value.#text.value = "test"

or, in js:
this.resolvenode("caption.value.#text").value = "test"

when stick bit of code in 'initialize' event, works.

however when try code in event (mousedown, change, click) has no effect whatsoever.

what doing wrong here????

i know there's ridiculous i'm overlooking.

thanks everyone!

make sure save pdf dynamic pdf. if save static not able change caption @ runtime, before pdf has been rendered (ie: in initialize event).

chris
adobe enterprise developer support


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments