Jump to content

IceisforHockey

Members
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

IceisforHockey's Achievements

Rookie

Rookie (2/14)

  • One Month Later
  • Collaborator Rare
  • Week One Done
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. sorry for being so vague.... What is not working is that instead of the the text being on one (albeit in a smaller font) I am getting a text break. ie Mr. John D oe Acme Hardware what I expected was that oncopyfit would kick in and I would get in a smaller font Mr. John Doe Acme Hardware I do have "do not break on copyfit" checked thanks
  2. Is there a way to get this to copyfit if needed? Right now the OnCopyFit rule doesnt seem to work on the above rule? Thanks
  3. Sorry... I'm Baaack... I have a second variable text box in the PDF that displays another field named "Industry" It is in a different font Caslon Pro When I compose the document the first page composes perfectly and every other page the font changes to Arial. Is there something in this code that might be doing this? Thanks
  4. I cant seem to get the break properly the break properly... var s = [[TaggedDataField("Name"), TaggedDataField("Title")].filter(String).join(' '), TaggedDataField("Company")].filter(String).join('<br>'); return '<span font="Helvetica 55" pointsize=22>' + TaggedFromRaw(s).replace(/[A-Z]/g, '<span font="Helvetica 95" pointsize=28>$&</span>'); This is the Result: Jon Doe President <br> Acme Dynamite
  5. Hi Dan Been working on my little project... ran into something I cant figure out. This is what I got so far var s = Field("Name") + Field("Title") + Field("Company"); return '<span font="Helvetica 55" pointsize=22>' + TaggedFromRaw(s).replace(/[A-Z]/g, '<span font="Helvetica 95" pointsize=28>$&</span>'); It outputs as expected... so I added + " " + between each field to give me spaces: var s = Field("Name") + " " + Field("Title") + " " + Field("Company"); return '<span font="Helvetica 55" pointsize=22>' + TaggedFromRaw(s).replace(/[A-Z]/g, '<span font="Helvetica 95" pointsize=28>$&</span>'); The problem I have is if the record doesn't have a Title I get an extra space. This is unlike if I do this straight in the text editor where I check ignore if empty the space is not put in. Is there a way to build that into the rule? Also if I wanted to put Company on the next line is there a way to put in the <br>? thanks
  6. Thanks Dan!! Quick follow up... Is the original font (for all the lowercase characters) set in the text editor in the PDF? meaning I want all characters to be arial except for the capital letters to be in Helvetica. Thanks again
  7. JS is not my thing.... that being said need some help. I am trying to change the first letters of a salutation line in an address to a different font and font size. It is made up of fields: Title, First Name, Last Name and Other eg. Mr. and Mrs. John Doe and Family - I would like all First letters which are capital (not the ands) to switch to a different font and a bigger size. "M", "M", "J", "D" "F" Thanks for any help in advance
×
×
  • Create New...