Dynamic Image in forms





I am trying to work on a proof of concept of dynamic images in my form and here is the requirement for the same. I have an xdp and xml will be sent to the same and an interactive PDF will be returned back to the user. The images are stored in a shared location and some parameters for the same will be passed in the xml and the images will be pulled up. I uploaded a prototype on IVS and some data files (xml) and when the output format is PDF, it shows dynamic logos just fine but when the output format is PDFForm (which is what i need) it doesnt show any logo. What am I missing here? is there some setting that I need to do.

here is my code to pull up the dynamic images in the initialize event -

this.imgLogo.value.image.href = "https://path here" + gClientID.value + ".gif";