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

Notices

Showing results 1 to 2 of 2
Search took 0.01 seconds.
Search: Posts Made By: Dan Korn
Forum: The JavaScript Library March 22nd, 2021, 12:54 PM
Replies: 5
Views: 6,362
Posted By Dan Korn
Re: Creating a Name variable consisting of multiple fields

Sure, something like this:
var result = ["Prefix", "First", "Middle", "Last"].map(Field).filter(String).join(' ');
return [result, Field("Suffix")].map(String).join(', ');
Or:
var result =...
Forum: The JavaScript Library March 17th, 2021, 01:38 PM
Replies: 5
Views: 6,362
Posted By Dan Korn
Re: Creating a Name variable consisting of multiple fields

If you need to call a function from more than one rule, then you should put it into the JavaScript Globals. If it's only used in one rule, then you can either leave it in the rule or put it in the...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -7. The time now is 03:54 AM.


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