cancel
Showing results for 
Search instead for 
Did you mean: 

Reduce empty space in Adobe Form

Former Member
0 Kudos

Hi,

I am working on adobe form. Could some one answer my question "How to reduce empty space in the form ?".

For Instance, if there are four fields that are display in the form then at runtime if the first three fields are empty. then i want to hide and reduce space so that the 4th fields come up to 1st field's position.

Thanx in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

i042339
Product and Topic Expert
Product and Topic Expert

Hi, This can be achieved using java script.

But all these 4 elements needs to be wrapped in side a subform and content type of this subform should be selected as Flowed.

Then through Java script you have to set the presence properties of the Field to "hidden" according to the runtime data.

On Form:Ready event you have to check the values and set the presence properties to "hidden".

Sample code

Form1.Page1.SubForm1.TextField1.presence = "hidden";

Try this out first in test form and let me know if this is working or not.

But you have to set the Content property of subform to "Flowed". This is most important.

Cheers

Satya

Former Member
0 Kudos

Satya,

I tried it, that's does n't work.

Thanx for the suggestion.

i042339
Product and Topic Expert
Product and Topic Expert
0 Kudos

it will work.. I never suggest any code which will not work in your scenario.

you should atleast tell us what is the problem you are facing. only one liner will not help you here at the forum to help you out.

If you really want to know the problem with your code.. send me the PDF file ...in my email address p_satya123@yahoo.com

cheers

Satya

Former Member
0 Kudos

I Thank you all for helping me.