Go Back   MarcomCentral (PTI) and FusionPro User Communities > Search Forums

Notices

Showing results 1 to 4 of 4
Search took 0.01 seconds.
Search: Posts Made By: traba5058
Forum: The JavaScript Library March 14th, 2012, 02:50 PM
Replies: 17
Views: 48,137
Posted By traba5058
Re: Write a case rule with exceptions

Dan,

I created a new rule in Fusion Pro and pasted in your code

var result = ToTitleCase(Field("Full Name"););
var Exceptions = [ "I", "II", "III", "IV" ];
for (var i in Exceptions)
{
...
Forum: The JavaScript Library March 14th, 2012, 01:41 PM
Replies: 17
Views: 48,137
Posted By traba5058
Re: Write a case rule with exceptions

I actually manipulated it to read

var Name = Rule("ProperCase_FullName_Rule");
Name = Name.replace("Ii","II").replace("Iii","III").replace("IIi","III").replace("Iv","IV");
return Name;

One...
Forum: The JavaScript Library March 14th, 2012, 01:27 PM
Replies: 17
Views: 48,137
Posted By traba5058
Re: Write a case rule with exceptions

Thanks so much for getting back to me! That code worked.
Forum: The JavaScript Library March 14th, 2012, 09:48 AM
Replies: 17
Views: 48,137
Posted By traba5058
Question Write a case rule with exceptions

I am a new Fusion Pro & Marcomm user and just getting started with Javascript.

I have 8 direct mail templates setup for a client. The client provides the list in all uppercase. This works great...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -7. The time now is 06:12 AM.


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