cancel
Showing results for 
Search instead for 
Did you mean: 

removing interspersed blank lines

Sharadha1
Active Contributor
0 Kudos

Hi,

I have a adobe form designed with both static text field control and typed texts. I want to remove the empty

lines which comes up when a field does not have value.

Is there any way to trim the empty lines in between the types texts.

Regards,

Sharadha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

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

All these 4 elements needs to be wrapped inside 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";

Please check this.

Regards,

sasi