Jump to content

n2_space

Registered Users - Approved
  • Posts

    54
  • Joined

Converted

  • FusionPro Products
    No

n2_space's Achievements

Enthusiast

Enthusiast (6/14)

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

Recent Badges

10

Reputation

  1. I guess it is ironic It is checked, I think that might fix the problem, thanks! I never thought to look there, I just kept looking at the code looking for something in there Now on to fixing the next issue
  2. Ok, I'm stuck We are updating a clients files to new artwork, and basically creating the same table as currently made. However, I am confused as to the last (visible) columns spacing. I can't post everything since there is NDA involved, but if you see the attached screen shot, the far right column cells sometimes space properly (first and last), while the middle two have some weird spacing going on. Even changing it to a ridiculous font size like 2 makes the gaps that are evident in the screen shot even more so. Here is the rule creating the table: The appendText global is as follows: I can't figure out the weird spacing on those cells.... I've spent all week messing with it and am just lost. Any ideas?
  3. Does FP support Vietnamese? from the version history I see the following: among others... what other languages? I have several we are going to do that are in the list, except for Vietnamese. Any info appreciated!
  4. that explains it... guess I'm going back to 7.2
  5. I just upgraded (finally) from 7.2 to 8.2... when I go to compose, there is no "All records" for compsing, just "record number" What in the world am I missing?
  6. Thanks! I have a couple others that are similiar (only on Friday and 3 days out then), so I think I can figure out how to change the code enough to make those work (I hope! )
  7. Saturday and Sunday should be 2 days out, at least right now... we don't currently have any that will happen then, but was trying to plan for that scenario. That worked beautifully, thank you! I am still very much a newbie to javascript and tried to look at other examples on the forum
  8. I'm trying to make a rule return a date a certain number of days out based on what day it is. Mon-Wed it will be two days from the date composed, and thursday and friday will be 4 days out. var theDate=new Date(Today()); var weekday=new Array(7); weekday[0]="Sunday"; weekday[1]="Monday"; weekday[2]="Tuesday"; weekday[3]="Wednesday"; weekday[4]="Thursday"; weekday[5]="Friday"; weekday[6]="Saturday"; var newDate = weekday[theDate.getDay()]; var today = new Date(); var tomorrow = new Date(); if (weekday = 0) tomorrow.setDate(today.getDate()+2); else if (weekday = 1) tomorrow.setDate(today.getDate()+2); else if (weekday = 2) tomorrow.setDate(today.getDate()+2); else if (weekday = 3) tomorrow.setDate(today.getDate()+2); else if (weekday = 4) tomorrow.setDate(today.getDate()+4); else if (weekday = 5) tomorrow.setDate(today.getDate()+4); else if (weekday = 6) tomorrow.setDate(today.getDate()+2); return FormatDate(tomorrow, "m/d/yyyy"); Apparently I have an issue as I test it by saying today is +5 just to test (instead of +2 for example for today as weekday 2), I am just getting +2... what am I missing?
  9. Ok, I still can't get this thing to work I've stripped some static elements of the document, just the info that is involved with dummy data, all the rules are there... this is as it was to begin with... so I am trying to figure out why many approaches to indenting the text messes up the table. Any thoughts would be greatly appreciated as I am just flat stumped Derm (3).pdf ID08_sampledata.txt xdf data.txt
  10. yep, sorry... we've been slammed (and with another client, not even this), so my brain is in 50 places. I am using 7.2 in acrobat x... although I need to install FP 8, we have the license since we jsut bought the VDP producer server as well to automate some things. I'll give this a whirl then, thanks!
  11. Each time I try this, I get: TypeError: [PAC1, PAC2, PAC3, PAC4].filter is not a function.
  12. ok, thanks for your help! I'm still learning a lot. I'll look into this further.
  13. Ya, I'm pretty confused Here is the original rule: The idea is that any text in PAC1 ( or 2, or 3, or 4) that is so long it flows to the second line, is to indent it. The problem is any solution I have tried to work in that indents it causes the rows created to change size (see attached before.jpg and after.jpg ... this has dummy data in it), the lident alone in the code someone else showed me makes it do this, as with any other code I tried... so I'm rather confused.
  14. This is what I am trying to accomplish with text coming from an external data file, building a whole table based on how many there are. The original code was: Someone helped me with this, which did the indent I wanted, which was great: But, the problem is the table it is building changes the size of each row. I'm really still learning a LOT of this stuff. What am I missing? If I need to post the whole rule let me know.
×
×
  • Create New...