cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe forms: How to reduce the spacing dynamically between two variables

Former Member
0 Kudos

Hi All,

I have a requirement where at the header I am printing the address and below that other contact detials of vendor. I have used standard address element of adobe forms and printing it on the form using a variable.

When my addres contains 3 lines only in that case other contact details which are below address varible should dynamically move up.

BRADKEN RESOURCES P/L

86 BYNG STREET

ORANGE NSW 2800

.

.

.

.

.

Tel 123456789

How can reduce the above spacing bet two variable. Please help me in getting the solution for this issue.

Many thanks in advance!

Vikash

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

You can concatenate the 2 variable and display it on that field.


data.Page1.<field>.rawValue = Concat(data.Page1.<field1>.rawValue , "\u000a" , data.Page1.<field2>.rawValue)

Kind Regards

Mukesh

Former Member
0 Kudos

Hi Mukesh,

Thanks for the code!

Will i be able to print these value one after other?

It seems if we concatenate it will print as a cont. text but my requirement is print one after other.

Please suggest and advice!

Thanks,

Vikash

Former Member
0 Kudos

Hi

This code in formcalc will enter into next line


"\u000a" 

Kind Regards

Mukesh