cancel
Showing results for 
Search instead for 
Did you mean: 

how can do dynmacilly visible and hidden the image in PDF?

Former Member
0 Kudos

Hi All,

I have developped an application. in that I have generated PDF. In I want to dispaly images differently on different portal.

How to capture the imgae and how to display and hidden.

this.value.image.href = xfa.resolveNode(this.value.image.href).value;

this is for current image.

How to capture the image in to variable and how to make it visible and hidden.

Any suggessions please.

Thanks

Mandapati

Accepted Solutions (0)

Answers (1)

Answers (1)

debasish_panda
Explorer
0 Kudos

Hi,

If you have some space to capture both these logo in the Form, then you can put them and based on the portal URL value, one the logo can be made invisible using javascript on the form.

To do this, you can put a context parameter to capture the URL value and based on the value you can make either of the logo invisible.

for e.g. if(url == "www.zzz.com" )

{

<<FormName>>.<<SubformName>>.<<fieldName/logo1>>.presence = "hidden" ;

}

else

{

<<FormName>>.<<SubformName>>.<<fieldName/logo2>>.presence = "hidden" ;

}

Regards,

Debasish