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

Notices

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: ThomasLewis
Forum: The JavaScript Library June 19th, 2012, 04:10 PM
Replies: 17
Views: 48,138
Posted By ThomasLewis
Re: Write a case rule with exceptions

As stated, it has to be an exact match to the entire string, the only exception being that it's all going to be in lowercase to get around any inconsistencies with case.

if (Var1 == "mw...
Forum: The JavaScript Library June 19th, 2012, 02:00 PM
Replies: 17
Views: 48,138
Posted By ThomasLewis
Re: Write a case rule with exceptions

Using an array the way Dan suggested is the easiest to manage when there are a lot of variables or when you know you'll be adding more in the future.

If you have a few static values you are...
Forum: The JavaScript Library March 14th, 2012, 03:43 PM
Replies: 17
Views: 48,138
Posted By ThomasLewis
Re: Write a case rule with exceptions

There's an extra semicolon in the first line.
It should read:
var result = ToTitleCase(Field("Full Name"));
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -7. The time now is 07:00 AM.


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