PTI Marketing Technologies User Community

PTI Marketing Technologies User Community (http://forums.pti.com/index.php)
-   Fonts (http://forums.pti.com/forumdisplay.php?f=42)
-   -   Span Pantone color (http://forums.pti.com/showthread.php?t=4928)

gdellaiera July 6th, 2017 08:45 AM

Span Pantone color
 
I've been working on a span statement & it works well. I need to change the color to a pantone (Pantone 638 CMYK) & I'm having an issue doing so.

if (Field("Certification 1") == ""){
return "";
}else{
return "<span font=Wingdings>n</span>" + Field("Certification 1");
}

I'm new to spans & have limited experience with them. I've tried adding 'font color = Pantone 638 CMYK' inside of the span but then the rule no longer works. Maybe I am just going about it all wrong?

Thanks

Dan Korn July 6th, 2017 09:41 AM

Re: Span Pantone color
 
return '<span font="Wingdings" color="Pantone 638 CMYK">n</span>' + Field("Certification 1");

http://forums.pti.com/showthread.php?t=580

gdellaiera July 6th, 2017 12:26 PM

Re: Span Pantone color
 
1 Attachment(s)
Thanks for the response, unfortunately I am getting a syntax error & when I put a colon where it suggest, it keeps giving the same error

http://forums.pti.com/attachment.php...1&d=1499369192

Dan Korn July 7th, 2017 10:16 AM

Re: Span Pantone color
 
Quote:

Originally Posted by gdellaiera (Post 20266)
Thanks for the response, unfortunately I am getting a syntax error & when I put a colon where it suggest, it keeps giving the same error

http://forums.pti.com/attachment.php...1&d=1499369192

Sorry, I can't see anything on that downsampled graphic. A picture is usually worth a thousand words, but in this case it might be better to simply copy-and-paste bot the rule syntax and the error message from the composition log (.msg) file.


All times are GMT -7. The time now is 01:31 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.