Skip to Content
avatar image
Former Member

Hiding Image when empty in Adobe form

Hi Gurus,

I need to hide an image field when image field is empty. (I'm passing Image in xstring from driver program).

I am able to hide the image. But it displays empty space in the place of image field. I don't need that space. What should I do?

I tried the below code seeing other SCN posts. Its showing empty space only.

if(this.rawValue ==null)

{

this.presence = "hidden";

}

Kindly help me..

Thanks in Advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 20, 2016 at 06:21 PM

    Hi Sriram,

    just go to your context and add to the parameter a condition.

    If [yourxstring] is not initial.

    After that your Script will work.

    ~Florian

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Florian,

      I'm still getting empty space.

      This empty space can be avoided by keeping the subform of the image as "FLOWED".