Jump to content

Search the Community

Showing results for tags 'mecard'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome
    • Start Here!
    • News
  • Software-Related Talk
    • Documentation
    • Getting Started
    • The JavaScript Library
    • FusionPro® VDP Creator
    • FusionPro® VDP Producer
    • FusionPro® VDP Server (API)
    • FusionPro® Expression®
    • MarcomCentral®
  • Support
    • Issues, Questions, Etc.
    • Digital Workflow Documents
    • Fonts
  • Off Topic
    • Customer Polls
    • Job Board (Moderated)
    • Reviews, Rants, and General Musings

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Location


Occupation


FusionPro VDP software version


OS


Acrobat Version


Homepage


ICQ


AIM


Yahoo


MSN


Skype


User Title

Found 1 result

  1. I've never done this before in FusionPro8 Typically I create Vcard's via online sources - I do not see the option to create Vcards in FP8. I see the helper rule for QR Contact Information - MeCard Problem is that not all the fields I need are included. And some of the information I need is static (not entered by a variable) I need the variables Name, Cell, Phone and Email I need the static information for website and address and fax I pasted the helper rule from FP8 and inserted some comments. var NameFieldOrRule = "Name"; var PhoneFieldOrRule = "direct"; var EmailFieldOrRule = "email"; var WebsiteFieldOrRule = ""; //HELP! I need to input static information here for website. website.com var AddressFieldOrRule = "";//HELP! I need to input static information here.for address var BirthdayFieldOrRule = ""; // dont want var NoteFieldOrRule = "";// dont want //HELP how do I include a cell phone number? //HELP how do I include a fax number? var PointSize = ""; // MECARD format // http://www.nttdocomo.co.jp/english/service/imode/make/content/barcode/function/application/addressbook // Also see: http://code.google.com/p/zxing/wiki/BarcodeContents var info = { N: FieldOrRule(NameFieldOrRule), TEL: OptionalFieldOrRule(PhoneFieldOrRule).replace(/\D/g,''), EMAIL: OptionalFieldOrRule(EmailFieldOrRule), URL: OptionalFieldOrRule(WebsiteFieldOrRule), ADR: OptionalFieldOrRule(AddressFieldOrRule), BDAY: OptionalFieldOrRule(BirthdayFieldOrRule), NOTE: OptionalFieldOrRule(NoteFieldOrRule), } var result = ""; for (var label in info) { if (!info[label]) continue; result += label; if (!label.match(/\:$/)) result += ":"; result += info[label]; result += FusionPro.inValidation ? '\r' : ';'; } if (FusionPro.inValidation) return result; var QR = new QRBarcode; QR.pointSize = Int(PointSize) || 10; return QR.Make("MECARD:" + result + ";");
×
×
  • Create New...