How to print rich text
Hello
How to print rich text
thank you in advanceMichel
Michel
7 replies
-
Hi Michel,
You can print richt text with a Rich text field. If you use that field type in your input form you can add that field in your print layout with big "+" sign in the middle above the print layout.
You may also use function field in the layout and use the
html()
function. With this function you can enter HTML code in order to format text and text fields.Best, Jörg
-
Hello Jörg,
Thank you for these explanations, but would it be possible to have an example
best regardMichel
-
Hi Michel,
You can add the richt text field as follows:
If you add a formula field in the print layout you could use the following formla if you have a field "MyText" that contains your text.
html("<b>" + MyText + "</b>")
Best, Jörg
-
super, thank you Jörg but why I have returns lines inadvertent
-
Hi,
What is the code you are using?
Best, Jörg
-
Hello Jörg,
I did not use any code but redid the print page. What is surprising is that the result on screen and printer is different at the pagination level. -
Hi,
the inadvertent line returns may result from (not visible) return lines in your Rich text field.
The preview of the print layout in Ninox will change in little details, like creating the page number, during the print.
Kind regards, Jörg
Content aside
- 5 yrs agoLast active
- 7Replies
- 2286Views