I have an address block script: @Address@
that has a suffix of
when appropriate:
var field, result = “”;
field = record.fields[“Opt Endorsement Line”];
if (field !== “”) result += field + “
”;
field = record.fields[“Full Name”];
if (field !== “”) result += field + “
”;
field = record.fields[“Company”];
if (field !== “”) result += field + “
”;
field = record.fields[“Alternate 2 Address”];
if (field !== “”) result += field + “
”;
field = record.fields[“Alternate 1 Address”];
if (field !== “”) result += field + “
”;
field = record.fields[“Delivery Address”];
if (field !== “”) result += field + “
”;
field = record.fields[“City”];
if (field !== “”) result += field + " ";
field = record.fields[“St”];
if (field !== “”) result += field + " ";
field = record.fields[“ZIPCODE”];
if (field !== “”) result += field;
results.html(result);
It is in a table to that is bottom justified:
@Address@ |
I presently don’t seem to be able to reduce the line-height under 100%
When previewing I can use a number above 100 percent and it will work but nothing under 100 percent seems to work.
Trying to get the address lines more closely together.