Hi! can someone teach me how I can make my QR Data...
# suitescript
j
Hi! can someone teach me how I can make my QR Data having a new line?
layout += '<td align="left" font-size="7pt"><barcode codetype="qrcode" height="100px" width="100px" showtext="true" value="Product Code:'+itemcode+'Product Name:'+itemcode+'Product Description:'+itemcode+'Date Delivered:'+itemcode+'Price:'+itemcode+'"/></td>';
Current output for this one is: Product Code:ITEM4Product Name:ITEM4Product Description:ITEM4Date DeliveredITEM4PriceITEM4 Desired output: Product Code:ITEM4 Product Name:ITEM4 Product Description:ITEM4 Date Delivered:ITEM4 Price:ITEM4
b
fair chance the answer is to use \r or \n or \r\n or <br>
j
okay. thank you so much for your assistance!
n
for new line you can use \n or <br/>