Skip to Content

Hiding Image when empty in Adobe form

Oct 20, 2016 at 06:20 PM


avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Florian Henninger
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.


Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hello Florian,

I'm still getting empty space.

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