Skip to Content
Jul 07, 2020 at 05:23 AM

Dynamically set image source path/value in Adobe Livecycle designer


Hi all,

I have 5 Image objects in a Form and want to set the image source/path dynamically on certain conditions. The images are stored locally in the same drive as .xdp file.

I am using the following code to set the value dynamically;

ImageForm.IMG_1.presence = "visible";

ImageForm.IMG_1.value.#image.value = ""; // encoded data

It works in Formcalc but doesnt work in JavaScript language.

Also, Is there a way to call/add Javascript function in Formcalc?

Can anyone please let me know what is missing and how to make it work?

Can we set URL[http://] to Image Object? How to set?

Adobe LiveCycle designer version : 11.0.9