Multi-line fields and RichText
Multi-line or RichText?
When a simple text field is enough and when the buyer may format text.
What it's about
- A line break needs one checkbox (Box), not an editor.
- RichText is for real formatting and gives the buyer much more than a line break.
- The text box in the layouter must have room for the second line, otherwise the preview reports that the text doesn't fit.
- Checking the preview with a long entry catches this before the buyer does.
Transcript
Click a timestamp to jump to that point in the video.
- Some departments have long names. On the left, the buyer only gets one line. On the right, they can add a line break – and the card prints two lines.
- You don't need an editor for a line break. The Special Field Option Box turns the single-line field into a multi-line one – a single checkbox.
- The RichText editor is for something else: bold, alignment, bullet lists. So only when there really is something to format.
- In the Special Field Options, you pick the field Department and search for box. Activate the function –
- and save.
- Then a look in the layouter: the box Role needs room for two lines. Here it's seven point six millimeters high.
- Without the room, the multi-line field doesn't help. With the single-line box, the preview reports that the text doesn't fit into the text frame.
- And RichText? Switched on for the variable, it gives the buyer a large editor with a toolbar. They can add line breaks there, too – but for a line break, that's too much.
- Here's how it looks live.
- One checkbox for the line break – and a box that holds two lines.