Jump to content

indumglynndevins.com

Members
  • Posts

    15
  • Joined

Converted

  • Location
    Kansas City, MO

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    10.0.26

Converted

  • OS
    MacOS High Sierra 10.13.3

Converted

  • Acrobat Version
    Acrobat DC

indumglynndevins.com'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. I'm trying to format a date that would work with Marcom calendar option where the user would pick a From date (Month, day), and To date (day, year). So basically it would print as September 9-15, 2018 (it's event invitation they could reuse just change dates as needed). From other posts, I can format first part of it, but I'm stuck on '-15, 2018'. Anyone have ideas how I can code this? I have 2 input fields FromDate and ToDate. Thank you,
  2. The reasons we did frames is so the user has a field they can type in information for each day...kind of like an activity calendar. Maybe not the most efficient way :/. I attached few images as reference.
  3. Thank you, Dan! I will check that out and reach out if I have more questions.
  4. Hi, How can I make this calendar work for additional years (2019, 2020, 2021...etc)? NOt sure if i need additional coding or it's something I can do on Marcom side. Right now if user was to pick Month 'January' and Year '2019' from the dropdown list it pulls January 2018 image/resource and days of the week don't match up so the information they are typing in is not populating in the correct day of the week. Month and Year fields are set up as text drop down library. I attached the files for reference. Any help is appreciated. Thank you, GD-23123-1_Jun-14-2018_07-04-56.zip
  5. That being said, you can certainly simplify things. You consolidate your two "header" rules into one: var XDF = new ExternalDataFileEx("PostcardContent.txt", "\t"); return XDF.GetFieldValue(XDF.FindRecord(0, Field('Header')), 1) || Field('HeaderCustom'); OK got stuck with this lol...Is it possible to add a replace substring to the code above? I know how to do this as two separate rules, but can it be done as one to simplify code further? This is what I have for HeaderReplace rule... var s = Rule("Rule Header"); s = ReplaceSubstring(s, "[COMMUNITY NAME]", Field("Community Name")); s = ReplaceSubstring(s, "[RSVP]", Field("RSVPPhone")); return s;
  6. Hi, I'm trying to figure out if there is an easier way to accomplish what we are doing. Example...we are working on Memorial Day postcard and there is a data field Header and we also offer HeaderCustom field (in case user doesn't want to use our pre-written copy they can add their own). Then we have Copy and CopyCustom and so on. On Marcom Side this needs to be a drop down for user to either pick our copy or Custom. Right now we are using .txt file and uploading to MarcomCentral and creating drop down list with the value to pull from that XDF file... the rule looks something like this... Header = ""; var XDF = new ExternalDataFileEx("PostcardContent.txt", "\t"); for (i = 1; i < XDF.recordCount+1; i++) { Option = XDF.GetFieldValue(i, 0); { if (Field("Header") == Option) { Header = XDF.GetFieldValue(i, 1); } } } return Header; and... var var1 = Rule("Rule HeaderContent"); var var2 = Field("HeaderCustom"); if (var1=="") { var1 = var2; } else { var1 = var1; } return var1; Is this the best practice for what we are doing or is there another way this can be done without XDF file maybe? Thank you,
  7. YES! That's exactly what I was trying to figure out. Thank you for that elaborate explanation. Sorry for the confusion on my part.
  8. Hey Dan, Thanks for that [Community Name] explanation...very helpful! Reason we add value this way is so the user can put the name of their Community Name inside our provided copy. This is a variable template not specific to any community. Hope i'm explaining it right. Now, the font in the header 'Join us for' (first line) and second line 'CINCO DE MAYO' are two different fonts. When I add text to the text editor and select those two lines and insert <header> it changes both of those lines of text to the first font :/. Thanks,
  9. LOL Sorry...here are the files I'm working on (template and PDF mockup). Hope that helps explain my struggle. Collect2.zip Cinco Self Mailer.pdf
  10. Hey Dan, So, when I set the fonts and change the data field to <header> it changes the font to the first font (top line)- see attached. This is all one field (header). This should also work as a custom field where user can change the copy if they would like. Is there a way to make it work like this without making it two separate data fields? Thank you,
  11. Thanks Scotts! It's good to know I'm not alone in this and to have a great support as this forum along the way :)
  12. Thanks Dan, I will try that. Maybe I'm overthinking this .
  13. Hi, New here and to Marcom/Javascript/Fusion Pro so figured to reach out for some help. Working on a postcard and the field EventHeader has 2 fonts and a variable spot to enter [Community Name] (I attached the image). So, on Marcom side it would be pre filled field and user can change the Community Name. Not sure what the code looks like to return 2 fonts and for it to be a custom field. Any help is appreciated. Thanks,
×
×
  • Create New...