Jump to content

randdevin

Registered Users - Approved
  • Posts

    17
  • Joined

Converted

  • Location
    TX

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    10.0.26

Converted

  • OS
    10.13

Converted

  • Acrobat Version
    Acrobat DC

randdevin's Achievements

Apprentice

Apprentice (3/14)

  • First Post Rare
  • Collaborator Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

10

Reputation

  1. Dan, Is there away I can do a copy fit and not allow Line Breaks? I've used your code for past projects but I've never had to worry about Line Breaking when using Java. http://forums.pti.com/showthread.php?t=84&highlight=CopyFitLine I've been digging thru the forum and Doc's and not seeing anything that is use full for my case. Thanks
  2. Think I got it working. I added a simple If statement var numColumns = (names.length < 6) ? 1 : 2; for (var c = 1; c <= numColumns; c++) if ( numColumns <= 1 ) myTable.AddColumn(32000); else myTable.AddColumn(16000); Thanks Dan.. I will start modifying the format for the customers needs..
  3. Dan, Looking over what you came up with and If I understand it correctly This code is deremiitng how many columns. var numColumns = (names.length < 6) ? 1 : 2; And this part is how wide to make them and how many based on numColumns for (var c = 1; c <= numColumns; c++) myTable.AddColumn(16000); If that is the case then I'm guess adding another if statement if less then 5 then make the column 32000. ( Double)?
  4. Dan, Thanks so much! This is just about their in what they are wanting. The only issue that I'm seeing right now it's not centering the table in the text box when it's a single column.
  5. So I figured out 2 ways I can place multiple fields in to my Cells. First would be calling multiple Fileds as part as the Table Rule myTable.Rows[0].Cells[0].Content = Field("Name1") + '<br>' + Field("Location1") + '<br>' + Field("Phone1"); Or I could call make another Rules for each cell return [ Field("Name1"), Field("Location1"), Field("Phone1") ].join('<p verticalstart=topofcolumn>'); Then the Table rule would be like this myTable.Rows[0].Cells[1].Content = Rule("Cell1"); My question still stands on how to write the Table for the Varying number of Rows and Columns. Any Help in guiding me would be great. Thanks
  6. Whats the Frodo tutorial? Right now I've been able to write a simple table like this example below. I still need to figure many things things like how do I even get other fields added to a cell? But the bigger issue is how do I make this dynamic based on the fields used. I've uploaded a sample data set that I made to for testing. var myTable = new FPTable; myTable.AddColumns(10800, 10800); myTable.AddRows(3); myTable.Rows[0].Cells[0].Content = Field("Name1"); myTable.Rows[0].Cells[1].Content = Field("Name2"); myTable.Rows[1].Cells[0].Content = Field("Name3"); myTable.Rows[1].Cells[1].Content = Field("Name4"); myTable.Rows[2].Cells[0].Content = Field("Name5"); myTable.Rows[2].Cells[1].Content = Field("Name6"); return myTable.MakeTags() DataFile.zip
  7. Dan, Just checking in and see if you have any ideas. I'm still trying to read over how to make tables and come close to what were needing. Thanks
  8. Glad to here that it's possible.. I did not want to deep dive into to much info from the start if was not going to work. So the Table needs to fit with in a certain size window. When it goes to a single column the width can stay the same.. I was thinking just merge them would work just fine.
  9. I've got a project that the customer is wanting a table like layout. I've never have used Fusion Pro Tables so this will be a learning curve. The issue is the amount of cells varies depending on the amount of info. In this example 10 cells Max. ( 2 Columns 5 rows ). I don't see an issue if they are suppling 10 names. The issue is they are wanting to go to a single Column if their is less then 6 names. If their is more then 5 Names and an odd number of names they want the last Name to merge into a single Column. Providing 3 screen shots of different options. Is this even Possible? If so any help getting this done would be extremely helpful. Thanks Devin Tables.zip
  10. That is correct, but I was looking to have the javascript add the @domain.com all in a single step.
  11. Thanks step... What you supplied is always assuming that they supply the @. See some users know to only enter everything before the @ while others do not. Thanks
  12. Customer is wanting to force an email address to use a certain FQDN. they only want the customer to enter everything before the @. Issue is some people can't read and they enter the full email address. So were looking at removing the complexity for the end users and create a rule that is smart enough to remove the @ and everything after. Thanks for your help.
  13. I know that text fits just fine.. But it's wanting to put in the <f name="Arial"><z newsize=12> <setwidth newsize=12> in front of the all the names.. I do have text that is to large so I would want to reduce those.
×
×
  • Create New...