cancel
Showing results for 
Search instead for 
Did you mean: 

Problems in Image Field in Interactive Forms

former_member214651
Active Contributor
0 Kudos

Hi,

I have an Application where I need to display the Employee's Photo in the Interactive PDF form in Portal.

I am able to display it by using the Image Field UI Element in the Form Designer.

Using some scripting <i><b>(language:-> FormCalc)</b></i> that dynamically sets the URL as per the data, being sent from the Back-end.

<i><b>this.value.image.href =PDFSource.#subform[0].Subform1.ImageField1.formattedValue;</b></i>

But when I click on the Image Field area in the generated PDF form, I am getting a Browse option, using which I am able to change the uploaded photo.

Is there any way that I can stop this (browsing option) from happening.

Thanking in Advance,

Poojith M.V

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

At initialize event from ImageField, add:

PDFSource.#subform[0].ImageField1.access="readOnly";

Bye.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Can you pl. tell me how to change the image based on link pased from interface for me its not working if i pass the link to url option of image it displays.

Atul

Former Member
0 Kudos

If you only want to display the image you should not use the image field element but the image element.