Page 1 of 1

QRCode text with multiple lines

Posted: Mon Sep 06, 2021 9:39 am
by fredericoCMF
Hello,

I am using QRCode in my document, but I couldn't find a way to display the content with multiple line.
When writing the code in the text form the new lines are ignored. Is there any way to have new lines or it is a limitation?

e.g.
After I scan the QRCode
Instead of displaying:

Material:123Product:ABC

I would expect something like this

Material:123
Product:ABC


Thank you

Re: QRCode text with multiple lines

Posted: Tue Sep 07, 2021 8:37 pm
by Lech Kulikowski
Hello,

Please check the following expression:
{"Material:123\nProduct:ABC"}

Thank you.

Re: QRCode text with multiple lines

Posted: Tue Sep 07, 2021 10:55 pm
by fredericoCMF
Hello,

Thank you for the answer! :)

I already found a way to do that.
Actually i had to use a carriage return

"Material: 123\r\nProduct: ABC"

But only using a variable, because if you try to write it on the text editor it does not work.

Thank you

Re: QRCode text with multiple lines

Posted: Wed Sep 08, 2021 8:11 am
by Lech Kulikowski
Hello,

You are welcome!