Jump to content

Sellis

Registered Users - Approved
  • Posts

    8
  • Joined

Converted

  • FusionPro Products
    Yes

Sellis's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter Rare

Recent Badges

10

Reputation

  1. Hi Dan I figured out the issue finally. The substitution is not catching 0. When there is a 0 in the phone number, the phone script fails. Do you have any ides on this? Thank you Sean
  2. So I logged back into the system, didn't change anything, and now it's working. Must have been Gremlins, Thanks for the help Dan
  3. Hello all I got some help with this 6 months or so ago, and it seems that something happened and it's not working anymore. Here is what I need to achieve. We are doing versioned cards for a school for the blind. The front is sighted text, and the back get's embossed with braille for dual use. I got help getting a code that would allow the user to enter in their phone number, and it would convert it to US English 2 braille. (IE the numbers become letters.) it was working fine for a while, now it's no longer working. A note we do not use what get's generated for anything more than a proof, another vendor does the braille embossing. Here is the variable, if they want the same phone in braille that is in phone 1 we allow them leave the braille phone line blank. Here is the code I have been using. This job resides on an EFI/Digital Store front site, and is allowed for one off use only. Any ides why I'm not getting the result i'm looking for? Var1 = Field("Phone1") Var2 = Field("Braille Phone") if (Field("Braille Phone") =="") return formatBraille(Field("Phone1")); // #617-555-1234 else return formatBraille(Field("Braille Phone")); //#+617-555-1234 //// function formatBraille(number) { number = number .split('') .map(function(s) { return /\d/.test(s) ? Chr(96 + Int(s)) : s; }) .join('') .replace(/[^a-j]/gi, '') .match(/^(.{3})?(.{3})(.{4})$/); if (!number) return ''; number.shift(); return '#' + number.filter(Boolean).join('-'); } Thank you Sean
  4. Thank you Dan I was looking at this in the way you would have to do it in Indesign with a negative indent to get it back to where I wanted it. Was making it more complex than it needed to be. Thanks for your help. Sean
  5. Than you for the quick reply Dan I don't have data since it's an online application. I do have a manual way to do it, but the users are ignoring it. I have attached a pdf of what the card options can look like. Sean Line breaking.pdf
  6. Here is the problem I have. My client needs to have a custom overflow rule. If their text is longer than the specified title one area it needs to break to title two line, but i needs to indent 3 spaces ti indicate it's a continuation of the title. If this happens we need to suppress title tile and use the title one. If it's not longer we want both title 1 and title 2 on the piece. I now have a yes/no option to have the user select is the title is too long, but they are not doing it and it's had a few cards be wrong. Any help with this would be great thank you! Sean
  7. Thank you very much, this worked perfectly. With this code I was able to modify it to use another field is they leave it blank. Thank you Sean
  8. So I have an interesting issue. My client needs to have text formatted like a phone number. A little background this client is using a braille translating service to convert a phone number to Grade 2 braille. so 617-555-1234 is represented like this. #fag-eee-abcd Here is what I need help doing. The text must always have (#) in the front to note that this is a number, and we must be bale to have the rule format the text like a number #fag-eee-abcd. We want to set the programming to be bale to accommodate the text entry of #fag-eee-abcd or #fageeeabcd. I tried modifying the format phone rule, but with little success, any one have any suggestions for this? Thank you Sean
×
×
  • Create New...