![]() |
mperry622 8/5/2014 |
Is it possible to have a multi-line and/or multi-color label? My current label looks like this: My Product 250/Case P/N 12345 I would like the generated label to read: My Product 250/Case P/N 12345 (This line would be colored Red) Regards; JRS
|
J
|
JimSmiley author 8/5/2014 |
Thanks for the response. |
![]() |
mperry622 8/5/2014 |
Thanks for the response. All info is coming from the "Label" column of the "Fields" page.
|
J
|
JimSmiley author 8/5/2014 |
I haven't found a way to add a " |
![]() |
Sergey Kornilov admin 8/6/2014 |
Unfortunately we do not have a built-in option for multi-line labels. Your only option is to remove the standard label in Visual Editor and insert your own text there. You can make it multi-line as well as multi-color. |
J
|
JimSmiley author 8/6/2014 |
That's what I thought but wanted to confirm. |
G
|
gonzalosb 8/7/2014 |
use the following code to separate on each space as " |
J
|
JimSmiley author 8/7/2014 |
use the following code to separate on each space as " ": replace(data("YourData")," "," ") every space in the line will be replace as ENTER or you need to use the space type as NOTE so you can have multy line effect Add an extra if you wan an extra space between lines and PLEASE let me know if works for you...
|
G
|
gonzalosb 8/7/2014 |
Never could figure out how to implement your code. My current code is: {BEGIN PO_label} <P align="right"> {$label 2014OrderInfo PO} </P> {END PONumber_label} Which yields a label that reads: Purchase Order What I wanted was: Purchase Order Thanks for the response. Sorry I couldn't figure out how to make your code work.
|
J
|
JimSmiley author 8/7/2014 |
before process or before display (one of those) : Label=replace(data("label2014OrderInfoPO")," "," ") and your code replace: {$label 2014OrderInfo PO} with: {$Label} let see what happen i use this with field data, never tried with Labels
|
G
|
gonzalosb 8/7/2014 |
ok, got it. |
J
|
JimSmiley author 8/7/2014 |
ok, got it. go to section "Misc" on top open "label editor" next to languages look for the label and modify the result as "Purchase </br>Order" DONE!!! that will do it..
|
G
|
gonzalosb 8/8/2014 |
what version of ASPR you have? |
J
|
JimSmiley author 8/8/2014 |
what version of ASPR you have? it works on 7.2 and 8.0 FYI the title "Purchase </br>Order" goes without "" if you leave them on, you have that </br> result at the label title
|
G
|
gonzalosb 8/8/2014 |
let see if this is what you need:
|
J
|
JimSmiley author 8/12/2014 |
Still same result. It looks correct in the "Style" tab but reverts to "Purchase </br> Order </br> Number" in the "Editor" tab. Creating new project doesn't have any effect. |
G
|
gonzalosb 8/12/2014 |
Wow, incredible, but as you see works perfect for me even i see it generated on the browser |