# Business custom field label and value on sparated lines in pdf

**URL:** <https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195>\
**Category:** Uncategorized\
**Created:** [April 9, 2021, 9:56am UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195 "2021-04-09T09:56:03Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![raivodc100](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/raivodc100/32/31157_2.png) [@raivodc100](https://forum.manager.io/u/raivodc100)\
**Post date:** [April 9, 2021, 9:56am UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/1 "2021-04-09T09:56:03Z")

</div>

Hi,

we have custom fields in Business Details  
If we creat Invoice, in the screen all correct - custom field label and field value is on the same line.  
But on the PDF label and value are on the separated lines, this is not correct.

 ![pilt](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/f/d/fddec168f8ff1e9c8f0d5f81ebadf38688faf9f7.png)

here is correct - from screen (all 4 lines at bottom)

 ![pilt](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/2/c/2cf1c802f300e5e565763423349a2dff90034f37.png)

screenshot from pdf:

 ![pilt](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/d/c/dc728ab8e9b3c377f76d350dd721461cab0e6999.png)

screenshot fron custom theme code:

 ![pilt](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/9/f/9f6e737af8fd4051652dbca05c172662a70db331.png)

Best regards

---

<div class="post-metadata">

**Author:** ![raivodc100](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/raivodc100/32/31157_2.png) [@raivodc100](https://forum.manager.io/u/raivodc100)\
**Post date:** [April 9, 2021, 10:24am UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/2 "2021-04-09T10:24:05Z")

</div>

Oh … I forgot to mention  
Manager v 21.3.75 server Windows 64bit

---

<div class="post-metadata">

**Author:** ![raivodc100](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/raivodc100/32/31157_2.png) [@raivodc100](https://forum.manager.io/u/raivodc100)\
**Post date:** [April 12, 2021, 6:49pm UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/3 "2021-04-12T18:49:48Z")

</div>

Anyone? @Tut ? … @lubos ?  
Manager v 21.3.83

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [April 12, 2021, 7:13pm UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/4 "2021-04-12T19:13:24Z")

</div>

You are responsible for performance of your custom themes. You should also be aware that Manager is not a what-you-see-is-what-you-get program. And screen views and PDFs are rendered by different engines. So they can produce different results. Often, different themes are necessary for screen view, PDF, and Print. Even then, you will find the PDF generator substitutes fonts (because of language translation issues).

---

<div class="post-metadata">

**Author:** ![raivodc100](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/raivodc100/32/31157_2.png) [@raivodc100](https://forum.manager.io/u/raivodc100)\
**Post date:** [April 12, 2021, 7:42pm UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/5 "2021-04-12T19:42:36Z")

</div>

Great!  
But I would still like a solution to this problem.

This is only when I use the Manager PDF button  
If I use the PRINT button and save with another PDF printer, everything is fine

Why manager PDF splits this to two lines?

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [April 12, 2021, 7:52pm UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/6 "2021-04-12T19:52:36Z")

</div>

I don’t think this has anything to do with the theme. It’s most likely has something to do with the text itself, maybe the place where you copied them placed extra special characters.

Either drop all of those custom field labels and values in a text editor that shows special characters or just type them in and see what happens.

---

<div class="post-metadata">

**Author:** ![raivodc100](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/raivodc100/32/31157_2.png) [@raivodc100](https://forum.manager.io/u/raivodc100)\
**Post date:** [April 12, 2021, 8:06pm UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/7 "2021-04-12T20:06:23Z")

</div>

Thank You @Ealfardan

But no special characters…  
In html its look like this:

´

```
            <div><strong>Reg-kood</strong> 14265995</div>
            
            <div><strong>Pank</strong> SEB Pank AS</div>
            
            <div><strong>IBAN</strong> EE06 1010 2202 6232 3227</div>
            
            <div><strong>SWIFT</strong> EEUHEE2X</div>
            
        </div>

```

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [April 12, 2021, 8:11pm UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/8 "2021-04-12T20:11:43Z")

</div>

@raivodc100, you (or your colleague @gunnar.michelson) have been reminded previously that themes are not written in HTML, but Liquid.

---

<div class="post-metadata">

**Author:** ![raivodc100](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/raivodc100/32/31157_2.png) [@raivodc100](https://forum.manager.io/u/raivodc100)\
**Post date:** [April 12, 2021, 8:17pm UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/9 "2021-04-12T20:17:51Z")

</div>

@Tut - i copyed this code using brauser DevTools, from source code. To check that we dont have any special characters

---

<div class="post-metadata">

**Author:** ![raivodc100](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/raivodc100/32/31157_2.png) [@raivodc100](https://forum.manager.io/u/raivodc100)\
**Post date:** [April 12, 2021, 8:26pm UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/10 "2021-04-12T20:26:59Z")

</div>

and code from theme:

```
                    <div>{{ business.address | newline_to_br }}</div>
                    {% for field in business.custom_fields %}
                    <div>{{ field.label }} {{ field.text }}</div>
                    {% endfor %}

```

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [April 12, 2021, 8:56pm UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/11 "2021-04-12T20:56:37Z")

</div>

That is not the code you showed in your first post.

---

<div class="post-metadata">

**Author:** ![Joe91](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/joe91/32/35781_2.png) [@Joe91](https://forum.manager.io/u/Joe91)\
**Post date:** [April 12, 2021, 9:18pm UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/12 "2021-04-12T21:18:28Z")

</div>

You could try putting the information into one custom field rather than six custom fields

---

<div class="post-metadata">

**Author:** ![raivodc100](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/raivodc100/32/31157_2.png) [@raivodc100](https://forum.manager.io/u/raivodc100)\
**Post date:** [April 12, 2021, 9:35pm UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/13 "2021-04-12T21:35:16Z")

</div>

Thanks @Joe91 and @Ealfardan !

Problem solved! I replaced `<strong>` to `<b>` and no problem anymore.  
Seems that manager don´t like this `<strong>` thing very much…

Best regards 🙂

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [April 12, 2021, 10:04pm UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/14 "2021-04-12T22:04:30Z")

</div>

Interesting, it seems like the PDF printer treats strong as a block element.

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [July 5, 2026, 8:21pm UTC](https://forum.manager.io/t/business-custom-field-label-and-value-on-sparated-lines-in-pdf/34195/15 "2026-07-05T20:21:41Z")

</div>

Uncategorized topics older than 3 years with no recent activity
