Skip to Content
author's profile photo Former Member
Former Member

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

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.



Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Aug 04, 2006 at 04:24 AM


    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 == "" )


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




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




    Add comment
    10|10000 characters needed characters exceeded