Jump to content

bkurzbuch

Registered Users - Approved
  • Posts

    116
  • Joined

Everything posted by bkurzbuch

  1. Hi Ste Pennell Gave that a shoot and I get just the rule showing in the box. i believe its because the whole thing driving this is field "Number of Plans" when the number is 1 it is just Ultimate advisor and 2 is Ultimate advisor Plus, but where i can motive your code is above me. If you could point me in the right direction I think i can get it from there. Also i need to motive it to return the ® as a superscript. Thanks for the help
  2. WOW Thats a little above me. Thanks Ste I'll give a shoot and see what happens. Thank You
  3. Thanks for looking Dan. Try it now.500177-Enrollment Flyer Redesign_ccg.zip
  4. Thanks for the reply. Template .zip is attached. I thought it was a little hard to explain in a short post. Thanks for the help.
  5. Still fairly new to javascript and have been working on the attached screen shot to no avail. There are 2 pricing options on my flyer (Ultimate Advisor Plus & Ultimate Advisor). If there is just 1 plan selected then Ultimate Advisor Plus does not appear and Ultimate Advisor mover to the left in its position. I have that working. My problem is that not all three pricing options are used at a time(i.e. Individual, Two-Party and Family and in addition to that, the end text "month". is a variable also and will never be empty. I created a switch rule with 2 text resources, but am sure this was the wrong way to go.Code below. Any advise or help on how to format this would be greatly appreciatied. I have 7 variable fields for this block of text. One for each price and a additional one for the payment option which will be the same for all price records once selected. Thanks for the help. switch (Field("Number of Plans").toLowerCase()) { case "1".toLowerCase(): return Resource("Individual Pricing"); case "2".toLowerCase(): return Resource("Individual Pricing plus"); default: return ""; }
  6. Sorry for the confusion Dan this code did Exactly what i needed. if (FieldChanged("KEYLINE")) { FusionPro.Composition.OpenNewOutputFile( ReplaceSubstring(Rule("Acronym Rule"), "/", "-") + "." + FusionPro.Composition.outputFormatExtension); } Thank You SOOO much.
  7. Fusion Pro Ver 9.3 Working off a server and composing to folder on server. I'm trying to get my output pdf's to be separated into each association based off the data supplied. Ideally the data would all ready be sorted but it is not. I would like it to name based of a field or rule. I tried the above code change . if (FieldChanged("KEYLINE")) FusionPro.Composition.OpenNewOutputFile(Rule("Acronym Rule") + "." + FusionPro.Composition.outputFormatExtension); And returns the following error weather i compose to my desktop or server. iCould not write output file <SJMS/CMA.pdf>. Job aborted with error. dlpdfdocwritepdf, progress "Doc->PageCount is zero", error: Bad parameter. PDF Library Document Write Error: Bad parameter. pdf_om_WriteDoc, dtl_pdf_WritePdf returned "-2" Thank you soooo much for the help. Under the gun to get the customer samples of each Assocation.
  8. Ok changed my On Job start rule to "Field Changed" and it validates fine. Code below. if (FieldChanged("KEYLINE")) FusionPro.Composition.OpenNewOutputFile(Field("KEYLINE") + "." + FusionPro.Composition.outputFormatExtension); When i go to compose I get the following error message - Which i believe is because the way the data is written. Is there a way around this error. Could not write output file <48619/48641/1001/51801.pdf>. Job aborted with error. dlpdfdocwritepdf, progress "Doc->PageCount is zero", error: Bad parameter. PDF Library Document Write Error: Bad parameter. pdf_om_WriteDoc, dtl_pdf_WritePdf returned "-2"
  9. Ok - My job has 30 different Associations all pulling Assoc. names and logos based off a data field "Keyline". I tried field change and the rule will validate but I get a error on output. I believes it is because of the data format. "Keyline" is written as 1234/5678/91235/1256. I don't think it will allow the forward slash's in the file name. Thats when i tried to switch to a rule name instead, which returns a acronym base off that key line number. So is there a way to get this to work based of the field "Keyline". To split into 30 different pdf's. Thanks for your help.
  10. I see the code did not paste in cleaningly. if (RuleChanged("Acronym Rule") FusionPro.Composition.OpenNewOutputFile(Rule("Acronym Rule") + "." + FusionPro.Composition.outputFormatExtension); Working on Mac 10.9.5 Acrobat Xi Rule is OnRecordStart
  11. Im try to get separate output files based a a switch rule and keep getting a syntax error. My code: if (RuleChanged("Acronym Rule") FusionPro.Composition.OpenNewOutputFile(Rule("Acronym Rule") + "." + FusionPro.Composition.outputFormatExtension); and i get a Line 2: Syntax Error: missing ) after condition. What am I doing wrong. Thanks for the help
  12. That would be great but, then how do you control the length of the tab. If you can't tell I'm a little new to javascript. Thank you for the help.
  13. I have the code listed below. i need to put in a space or two after the break. I know the code for a space should be &nbsp but I'm unsure of the correct format to get it to work and if I need additional spacing do i just add the same code again? Thank You if (Field("Family Law") == "Yes") return "(such as divorce<br>and child custody)"; else return "";
  14. I am new to fusionPro and need some assistance in creating a graphic rule. I have a data source with 1 field being a long string of numbers. Example (911-26427-4-48251051). i need to know how to word the rule so it uses just the first 3 digits to bring in a specific image. The data is a long serial number and the first 3 numbers reference a specific product. Thank You
×
×
  • Create New...