Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > The JavaScript Library > Tables & Charts

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #51  
Old November 5th, 2013, 02:06 AM
Olivier Olivier is offline
Junior Community Member
 
Join Date: Jun 2011
Location: Paris, FRANCE
Posts: 37
Default Re: JavaScript Table API – The Basics

Hi Dan, you are right, as my cells content are variables, they do have <p> tags.
Here is the rule code :
var table = new FPTable;
table.AddColumns(20000);
table.AddRows(8);
var theCell = table.Rows[0].Cells[0];
table.Rows[0].Cells[0].Font="Flash-Bold";
table.Rows[0].Cells[0].PointSize = 14;
table.Rows[0].Cells[0].VAlign = "Bottom";
theCell.ShadeColor = "White";
theCell.ShadePct = 100;
table.Rows[0].Cells[0].Content = ToUpper(Field("Titrelieu1"));
var theCell = table.Rows[1].Cells[0];
table.Rows[1].Cells[0].Font="Futura-light";
table.Rows[1].Cells[0].PointSize = 7.6;
table.Rows[1].Cells[0].TextColor = "Black";
table.Rows[1].Cells[0].VAlign = "Top";
theCell.ShadeColor = "White";
theCell.ShadePct = 100;
table.Rows[1].Cells[0].Content = Field("Lieu1");
var theCell = table.Rows[2].Cells[0];
table.Rows[2].Cells[0].Font="Flash-Bold";
table.Rows[2].Cells[0].PointSize = 14;
table.Rows[2].Cells[0].VAlign = "Bottom";
table.Rows[2].Cells[0].Content = ToUpper(Field("Titrelieu2"));
theCell.ShadeColor = "White";
theCell.ShadePct = 100;
var theCell = table.Rows[3].Cells[0];
table.Rows[3].Cells[0].Font="Futura-light";
table.Rows[3].Cells[0].PointSize = 7.6;
table.Rows[3].Cells[0].TextColor = "Black";
table.Rows[3].Cells[0].Content = Field("Lieu2");
table.Rows[3].Cells[0].VAlign = "Top";
theCell.ShadeColor = "White";
theCell.ShadePct = 100;
var theCell = table.Rows[4].Cells[0];
table.Rows[4].Cells[0].Font="Flash-Bold";
table.Rows[4].Cells[0].PointSize = 14;
table.Rows[4].Cells[0].VAlign = "Bottom";
theCell.ShadeColor = "White";
theCell.ShadePct = 100;
table.Rows[4].Cells[0].Content = ToUpper(Field("Titrelieu3"));
var theCell = table.Rows[5].Cells[0];
table.Rows[5].Cells[0].Font="Futura-light";
table.Rows[5].Cells[0].PointSize = 7.6;
table.Rows[5].Cells[0].TextColor = "Black";
table.Rows[5].Cells[0].VAlign = "Top";
theCell.ShadeColor = "White";
theCell.ShadePct = 100;
table.Rows[5].Cells[0].Content = Field("Lieu3");
var theCell = table.Rows[6].Cells[0];
table.Rows[6].Cells[0].Font="Flash-Bold";
table.Rows[6].Cells[0].PointSize = 14;
table.Rows[6].Cells[0].VAlign = "Bottom";
theCell.ShadeColor = "White";
theCell.ShadePct = 100;
table.Rows[6].Cells[0].Content = ToUpper(Field("Titrelieu4"));
var theCell = table.Rows[7].Cells[0];
table.Rows[7].Cells[0].Font="Futura-light";
table.Rows[7].Cells[0].PointSize = 7.6;
table.Rows[7].Cells[0].TextColor = "Black";
table.Rows[7].Cells[0].VAlign = "Top";
theCell.ShadeColor = "White";
theCell.ShadePct = 100;
table.Rows[7].Cells[0].Content = Field("Lieu4");

return table.MakeTags();

and here is the return code :
Reply With Quote
  #52  
Old November 5th, 2013, 10:18 AM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,381
Default Re: JavaScript Table API – The Basics

Quote:
Originally Posted by Olivier View Post
Hi Dan, you are right, as my cells content are variables, they do have <p> tags.
Okay, well, that's a little more information, although it's still hard to tell what's going on without the entire job to look at.

Also, it would have been more useful to copy-and-paste the contents of the "Expressions OK" dialog instead of posting a picture, so that I could then copy-and-paste the contents into a rule and try those tags myself.

At any rate, I replaced the field names in the code with fields from another job, and the table looks okay to me.

I guess what I'm wondering is, without any borders or shading on the table cells, how do you know whether the contents are properly positioned in the cells or not? I would add some calls to SetBorders so that you can see the outlines of the cells; then you'll know whether the contents are aligned correctly. See the first post in this thread, or take a look at the Frodo Travel tutorial, to see how to do this.

Although frankly, if you only have a single column in the table, and no borders or shading, I'm also wondering why you're using a table at all. You could just put down the fields into a text frame, and set the paragraph leading, or space above and below, to get the same output.

Finally, like a lot of rules I see, there's no need to repeat similar lines of code over and over again, when you can just use a simple loop. Specifically, your rule can be reduced to this:
Code:
var table = new FPTable;
table.AddColumns(20000);
table.AddRows(8);
for (var i = 0; i < 4; i++)
{
    var theCell = table.Rows[i*2].Cells[0];
    theCell.Font="Flash-Bold";
    theCell.PointSize = 14;
    theCell.VAlign = "Bottom";
    theCell.ShadeColor = "White";
    theCell.ShadePct = 100;
    theCell.Content = ToUpper(Field("Titrelieu" + (i+1)));

    theCell = table.Rows[(i*2)+1].Cells[0];
    theCell.Font="Futura-light";
    theCell.PointSize = 7.6;
    theCell.TextColor = "Black";
    theCell.VAlign = "Top";
    theCell.ShadeColor = "White";
    theCell.ShadePct = 100;
    theCell.Content = Field("Lieu" + (i+1));
}
return table.MakeTags();
Once you do that, it's a lot easier to make changes, such as adding a couple of lines to set the borders, like so:
Code:
var table = new FPTable;
table.AddColumns(20000);
table.AddRows(8);
for (var i = 0; i < 4; i++)
{
    var theCell = table.Rows[i*2].Cells[0];
    theCell.Font="Flash-Bold";
    theCell.PointSize = 14;
    theCell.VAlign = "Bottom";
    theCell.ShadeColor = "White";
    theCell.ShadePct = 100;
    theCell.Content = ToUpper(Field("Titrelieu" + (i+1)));
    theCell.SetBorders("Thin", "Black", "Top", "Bottom", "Right", "Left");

    theCell = table.Rows[(i*2)+1].Cells[0];
    theCell.Font="Futura-light";
    theCell.PointSize = 7.6;
    theCell.TextColor = "Black";
    theCell.VAlign = "Top";
    theCell.ShadeColor = "White";
    theCell.ShadePct = 100;
    theCell.Content = Field("Lieu" + (i+1));
    theCell.SetBorders("Thin", "Black", "Top", "Bottom", "Right", "Left");
}
return table.MakeTags();
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #53  
Old November 21st, 2013, 11:46 AM
MikeA MikeA is offline
Forum n00b
 
Join Date: Oct 2008
Posts: 6
Default Re: JavaScript Table API – The Basics

Hello all,

I'm hoping someone can point me in the right direction. Like the previous poster, I'm having an issue with the VAlign property of FPTable. I have a rule in which I create a table and set it to align cell content to center, both horizontally and vertically. This works if I call the rule as the first item in a text box. But if there is anything at all, even just a carriage return, above the rule, the content of the cells floats to the top. Everything else looks to be following the rule.

Here is the rule:
Code:
new FPTable;
var myTable = new FPTable;
myTable.AddColumns(16000, 6000, 6000, 6000, 6000, 6000);

// Add the top row
var topRow = myTable.AddRow();
    topRow.Cells[0].HAlign = "Center";
    topRow.Cells[0].VAlign = "Middle";
    topRow.Cells[0].SetBorders("Thin", "Black", "Top", "Bottom", "Right", "Left");
    topRow.Cells[0].Font="Times New Roman";
    topRow.Cells[0].PointSize=11;    
    topRow.Cells[0].Bold="On";
    topRow.CopyCells(0,1,2,3,4,5);
    topRow.SetContents("Your Monthly Amount", "$100", "$250", "$500", "$1,000", "$5,000");

// Add the bottom row
var bottomRow = myTable.AddRow();
    bottomRow.Cells[0].SetBorders("Thin", "Black", "Top", "Bottom", "Right", "Left");
    bottomRow.Cells[0].ShadeColor="Black";
    bottomRow.Cells[0].ShadePct=15;
    bottomRow.Cells[0].Font="Times New Roman";
    bottomRow.Cells[0].PointSize=11;
    bottomRow.Cells[0].Bold="On";    
    bottomRow.CopyCells(0,1,2,3,4,5);
    bottomRow.SetContents("Our Offer To You", "100", "250", "500", "1000", "5000");
// Center the table in the text box
return myTable.MakeTags().replace(/^\<table/, "<table alignment=center");
Using FP VDP Creator 8.2.7. I've attached a sample job for perusal. I cannot seem to figure this one out.

Thanks!
Attached Files
File Type: zip LetterP.zip (7.94 MB, 4 views)
Reply With Quote
  #54  
Old November 25th, 2013, 03:13 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,381
Default Re: JavaScript Table API – The Basics

Quote:
Originally Posted by MikeA View Post
I'm hoping someone can point me in the right direction. Like the previous poster, I'm having an issue with the VAlign property of FPTable. I have a rule in which I create a table and set it to align cell content to center, both horizontally and vertically. This works if I call the rule as the first item in a text box. But if there is anything at all, even just a carriage return, above the rule, the content of the cells floats to the top. Everything else looks to be following the rule.

...

Using FP VDP Creator 8.2.7. I've attached a sample job for perusal. I cannot seem to figure this one out.
Thanks for the sample job. I played around with it a bit, and I can reproduce what you're seeing.

However, it's not so much that the text is aligned to the top; it's that it's shifted up very slightly. You can see this if you make the text in one of the columns larger, which forces the other cells in the row to be larger as well:


So I would say that the content is still roughly centered, even in the first box.

However, there is still a discrepancy between the two outputs of the table, so this seems to be a bug. I'll enter a case about this so it can be investigated further.

As a workaround, if you know that the table is going to be in a flow after other text, you can just manually add some padding at the top of the cells, by adding a line like this:
Code:
    topRow.Cells[0].Margins = { Top:60 };
Checking the "Use legacy line leading" in the Paragraph Globals dialog might give you better results as well.

Thanks again for the sample job.
Attached Images
File Type: jpg tables.jpg (75.3 KB, 28 views)
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #55  
Old December 5th, 2013, 03:49 PM
MikeA MikeA is offline
Forum n00b
 
Join Date: Oct 2008
Posts: 6
Default Re: JavaScript Table API – The Basics

Hi Dan, Thanks for the workaround. It is a bit more elegant than the one I implemented before the reply. I found that adding a new line in the variable text editor just above the table and setting its leading to Auto - 0 lines (instead of 1 or any other value) resulted in the expected behavior from the VAlign assignment. Maybe that will help the dev team isolate the issue further. Did you reproduce the issue in version 9.1? I will be upgrading to version 9.1 as soon as its feasible. Maybe that is squashed in the latest version. Thanks for the help! Mike
Reply With Quote
  #56  
Old January 23rd, 2015, 03:12 PM
dreimer dreimer is offline
Senior Contributor
 
Join Date: Oct 2010
Location: Shakopee, MN
Posts: 473
Default Re: JavaScript Table API – The Basics

I have a table that uses borders. I have it HAlign Left but it is too close to the border. How can I shift it over to the right a bit. I tried Margins.Left but that doesn't seem to do anything.

Also, does anyone know how to use copyfitting in a table???

TIA
__________________
Don Reimer - JavaScript Novice

MAC OS 10.13.6 Acrobat DC FP Creator 10.1.11
Windows 7 Acrobat X 10.1.4 FP Creator 9.3.9
Reply With Quote
  #57  
Old January 26th, 2015, 09:09 AM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,381
Default Re: JavaScript Table API – The Basics

Quote:
Originally Posted by dreimer View Post
I have a table that uses borders. I have it HAlign Left but it is too close to the border. How can I shift it over to the right a bit. I tried Margins.Left but that doesn't seem to do anything.
Setting the margins should work. Can you post your code?
Quote:
Originally Posted by dreimer View Post
Also, does anyone know how to use copyfitting in a table???
There's no copyfitting in tables. Each cell expands as necessary to accommodate its contents.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #58  
Old January 26th, 2015, 01:20 PM
dreimer dreimer is offline
Senior Contributor
 
Join Date: Oct 2010
Location: Shakopee, MN
Posts: 473
Default Re: JavaScript Table API – The Basics

Code:
var numberOfFields = 16; // 16 Date, Amount, & Reference fields
var rows = 1; // Header
// Only make rows for all 'Date' fields containing data
for (var n=1; n<=numberOfFields; n++){
    if (Field("Date " + n)) { rows++; }
}
var myTable = new FPTable;
myTable.AddColumns(10400, 10400, 32400);
for (var i=0; i<rows; i++) {
        myTable.AddRow();
        myTable.Rows[i].Cells[0].Margins = { Top:60, Bottom:10, Left:60, Right:30};
        myTable.Rows[i].Cells[0].HAlign = "Left";
        myTable.Rows[i].Cells[0].Font="Arial";
        myTable.Rows[i].Cells[0].SetBorders("Thin","Black","Top","Bottom","Right","Left");
        myTable.Rows[i].CopyCells(0,1,2);
        var date = (i > 0) ? Field("Date " + i) : "GIFT DATE";
        var amt = (i > 0) ? Field("Amount " + i) : "GIFT AMOUNT";
        var notes = (i > 0) ? Field("Reference " + i) : "DESIGNATION/GIFT NOTES";
        myTable.Rows[i].SetContents(date,amt,notes);
}
return myTable.MakeTags();
__________________
Don Reimer - JavaScript Novice

MAC OS 10.13.6 Acrobat DC FP Creator 10.1.11
Windows 7 Acrobat X 10.1.4 FP Creator 9.3.9
Reply With Quote
  #59  
Old January 26th, 2015, 01:48 PM
dreimer dreimer is offline
Senior Contributor
 
Join Date: Oct 2010
Location: Shakopee, MN
Posts: 473
Default Re: JavaScript Table API – The Basics

Nevermind I guess. Got it to work by calling them in their own line.

After all that, I think the whole problem was top and bottom go in 10ths whereas left and right go in 100ths.

Code:
var numberOfFields = 16; // 16 Date, Amount, & Reference fields
var rows = 1; // Header
// Only make rows for all 'Date' fields containing data
for (var n=1; n<=numberOfFields; n++){
    if (Field("Date " + n)) { rows++; }
}
var myTable = new FPTable;
myTable.AddColumns(10400, 10400, 32400);
for (var i=0; i<rows; i++) {
        myTable.AddRow();
        myTable.Rows[i].Cells[0].Margins = new FPTableMargins;
        myTable.Rows[i].Cells[0].Margins.Top = "60";
        myTable.Rows[i].Cells[0].Margins.Bottom = "10";
        myTable.Rows[i].Cells[0].Margins.Left = "1200";
        myTable.Rows[i].Cells[0].Margins.Right = "450";
        myTable.Rows[i].Cells[0].Font="Arial";
        myTable.Rows[i].Cells[0].SetBorders("Thin","Black","Top","Bottom","Right","Left");
        myTable.Rows[i].CopyCells(0,1,2);
        var date = (i > 0) ? Field("Date " + i) : "GIFT DATE";
        var amt = (i > 0) ? Field("Amount " + i) : "GIFT AMOUNT";
        var notes = (i > 0) ? Field("Reference " + i) : "DESIGNATION/GIFT NOTES";
        myTable.Rows[i].SetContents(date,amt,notes);
}
return myTable.MakeTags();
__________________
Don Reimer - JavaScript Novice

MAC OS 10.13.6 Acrobat DC FP Creator 10.1.11
Windows 7 Acrobat X 10.1.4 FP Creator 9.3.9

Last edited by dreimer; January 26th, 2015 at 01:53 PM..
Reply With Quote
  #60  
Old January 26th, 2015, 01:52 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,381
Default Re: JavaScript Table API – The Basics

Quote:
Originally Posted by dreimer View Post
myTable.Rows[i].Cells[0].Margins = { Top:60, Bottom:10, Left:60, Right:30};
Yeah, there's a really old bug where the left and right margins are reversed. Also, 60 is a pretty small number. Try something like Right:100.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
Reply

Tags
javascript, tables

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:01 AM.


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