Jump to content

Brad Sawatzky

Registered Users - Approved
  • Posts

    30
  • Joined

Converted

  • Location
    Calgary, Alberta

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    5.1P2c

Converted

  • OS
    Mac OS 10.5.7

Converted

  • Acrobat Version
    Acrobat 8.x

Brad Sawatzky's Achievements

Explorer

Explorer (4/14)

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

Recent Badges

10

Reputation

  1. I've recently made the jump from FusionPro Desktop 6.2P1a to FusionPro VDP Designer 9.2.25, and I'm having trouble with Web DataCollect. When I attempt to update a template originally created with FP 6.2P1a with FP 9.2.25, all the fields in my Web DataCollect revert to Field Type: Single line, and all are required and visible. The initial Web DataCollect I used Single line, pick lists, and child field types, all which have reverted to Single line field types. I've tried Defining my HTML from from Current Data, and from XML File, and still no luck. As a last resort, I rebuilt the Web DataCollect portion. This worked fine until I reopened my template to make another change and found all my fields had again reverted to single line fields. If anyone can point me in the right direction, it'd be much appreciated. Thanks
  2. Hey Step, Works just like I wanted it to. Very much appreciate everyone's help! Thanks,
  3. Hey Dan, I continued playing around with it, but I'm still stuck. I'll attach the collected file, and hopfully someone can point me in the right direction. Record 1 works the way I'd like it to, with everything justified to the right. Record 2 has no Phone 2, and I'd like Phone1 to justify to the right, but it won't because of the 2 spaces I have in my variable text box. Record 3 has no Phone3 or 4, and both Phone1 and Phone3 don't justify to the right. I know it's because of the spaces I have in my variable text box, but I'm not sure how to get rid of them in the case of having no Phone2 or 4. Thanks again, 46753 Total E&P BC (2).zip
  4. Hey Dan, My "Hide Phone2 Label Rule" returns "Phone2 Label" if "Phone2" contains a value. If "Phone2" doesn't contain a value, "Phone2 Label" returns nothing. It looks like this: if (Field("Phone2") == "") return ""; else return Field("Phone2 Label");� My "Phone2 Format Rule" is from the "Change phone format Rule" template, and looks in part like this: if(CaseSelection == "Format 2") { var formatStyle01 = "$1 $2"; //simple 7 digit phone var formatStyle02 = "$1 $2 $3"; //simple 10 digit phone var formatStyle03 = "+$1 $2-$3-$4"; //10 digit phone starts with 1 var formatStyle04 = "$1-$2-$3 ext.$4"; //10 digit phone with extension var formatStyle05 = "+$1 $2-$3-$4 ext.$5"; //10 digit phone starts with 1 with extension var formatStyle06 = "$1-$2 ext.$3"; //7 digit phone with extension var thisNumber = Field(Var1); return formatNumber(Trim(thisNumber)); }� The exception I mentioned above for Phones 3 & 4 I had help with (if thats not already obvious) and it was back in 2009, can't remember for sure what it remedied. I monkey'd around a bit after posting and was able to get the desired result by adding a space in my variable text box at the right side of "Address1", "Address2", "Phone5", "Email" and "URL". When I compared the old and new verisons, I noticed that previously I had 2 spaces between "Phone1" and "Phone2 Label" and between "Phone3" and "Phone4 Label". Adding an additional space doesn't solve this problem. I tried changing the last line of the Phone3 and 4 rule to return Trim(dirOut); but didn't get the result I was hoping for. I'll keep playing around with it, but if there is any advice you can offer, I'm all ears. Thanks Dan
  5. I'm updating a business card template I created a long time ago and running into some trouble switching from left to right justified text. Actually the switch was easy, it's the spaces in between phone numbers that are the problem. My variable text box includes: Address1 Address2 Phone1 Label Phone1 Phone2 Label Phone2 Phone3 Label Phone3 Phone4 Label Phone4 Phone5 Label Phone5 Email URL When it was all left justified, everything worked fine, but now that it's right justified, I have an unwanted space at the right hand side when there is no Phone2. (and as no surprise, same with Phone3 when no Phone4 exists.) I have Hide Phone Label Rules in place for all my Labels, and Phone Format Rules for my numbers, the only exception is the Rule for Phones3 and 4 which looks like this: var dirOut = ""; if (Trim(Field("Phone3")) != "") {dirOut += Rule("Hide Phone3 Label Rule") + (Rule("Phone3 Format Rule"));} if (Trim(Field("Phone4")) != "") {if (dirOut != "") {dirOut += Rule("Hide Phone4 Label Rule") + Rule("Phone4 Format Rule");} else {dirOut += Rule("Hide Phone4 Label Rule") + Rule("Phone4 Format Rule"); } } return dirOut; Getting late in the day, hope I've explained everything okay. If anyone has any ideas as to how I can get rid of those nasty, unwanted spaces, I'd sure appreciate it. Thanks,
  6. Hi Eric, Finally got a chance to sit down and give it a try, and it works like a charm. You're a gentleman Eric, I'm now renaming all my kids after you. Thanks!!
  7. Hey Eric, Took a look under Functions, and the "TaggedDataField" function isn't listed. Also noticed my signature is out of date. I'm using FusionPro 6.2P1a, and Acrobat 9.5.2. Any idea how I might remedy the problem with 6.2P1a? Thanks,
  8. Hi Dan, I tried replacing my rule with the one you tweeked for me but when I validate the rule, I get "ReferenceError: TaggedDataField is not defined" I've played around with it, but I'm just not sure how to proceed. Thanks Dan,
  9. I'm currently working on a business card template that uses a rule I found on this forum to horizontally scale my "Title" field, and I've run into a problem with ampersands. The rule looks like this: return '<magnify type=setwidth factor=91.72>' + NormalizeEntities (Field("Title")) + '</magnify>'; Everything composes correctly, but when I load it to my DSF and test it, ampersands in my "Title" field return: "Barrister & Solicitor" I have "Treat returned strings as tagged text" box checked, but I'm not sure how to tweek the rule to return "Barrister & Solicitor" Any assistance would be appreciated. Thanks,
  10. Well, thats a little embarassing. Appreciate the help Dan.
  11. I've been trying to customize a phone format rule to return a different font after the area code, and I'm close, but I'm missing something. I've copied a rule from a previous post and customized it, but when I validate I get: "(mulitple font phone1 rule, line 11: ReferenceError: formatNumber is not defined)" My existing rule looks like: var thisNumber = Field("Phone1"); var afterAreaCodeTags = "<f name= \"CB Univers 67 CondensedBold\">"; var formatStyle01 = afterAreaCodeTags + "$1-$2"; //simple 7 digit phone var formatStyle02 = "$1-" + afterAreaCodeTags + "$2-$3"; //simple 10 digit phone var formatStyle03 = "+$1 $2-" + afterAreaCodeTags + "$3-$4"; //10 digit phone starts with 1 var formatStyle04 = "$1-" + afterAreaCodeTags + "$2-$3 ext.$4"; //10 digit phone with extension var formatStyle05 = "+$1 $2-" + afterAreaCodeTags + "$3-$4 ext.$5"; //10 digit phone starts with 1 with extension var formatStyle06 = afterAreaCodeTags + "$1-$2 ext.$3"; //7 digit phone with extension return formatNumber(Trim(thisNumber)); If anyone can point me in the right direction, I'd sure appreciate the help. Thanks
  12. Skinned quite a few cats in different ways and got the result I was looking for. Appreciate all the help!
  13. Thanks for the hand Ste, but variable graphics are a new world to me, and I'm still a bit confused. I wish I could load the zip file to explain myself a bit better, but I can attach a jpg to give you an idea of what the template looks like. I've left my phone1 & 2 labels as static, seeing as they won't change, and created seperate graphic frames for phone3 & 4 labels. Cell numbers are optional, and emails are manditory. In the case of no cell number, email has to justify to the left. A bit unconventional, but I couldn't think of another way of setting it up. I've set up a switch statement to handle phone3 label that looks like this: switch (Field("Phone3 Label").toLowerCase()) { case "Cell".toLowerCase(): return Resource("Cell Label"); case "Email".toLowerCase(): return Resource("Email Label"); default: return Resource("Cell Label"); } which works great if my phone3 is a cell number, but not so well if it's an email address. In defining the html form, I've made phone3 label a graphic pick list, and I'm not sure if this is where the problem lies. Sorry if it's a bit drawn out, but I hope this illustrates my problem better. Thanks again for the hand,
  14. I'm building a business card template that uses graphic resources as phone labels, and I'm running into some trouble. The labels for phone 1 and phone 2 remain constant (phone, fax), but I need my phone 3 label to either return a cell graphic or an email graphic. My phone4 label will only return a value (email) if both phone 3 and 4 are populated. I think what I need is a hide graphic phone label rule, but this is my first crack at using variable graphics, and I could very well be wrong. I've tried to attach my zip file (8.7 MB), but run into a message that reads: "Your submission could not be processed because a security token was missing." Any help would be appreciated. Thanks,
×
×
  • Create New...