Using the Build Your Own editor

In addition to uploading a PDF or Word document, we provide an online editor called, Build Your Own.  When using the Build Your Own option for your document, you will need to insert your own fields into the document, creating a template for your data.  This is actually quite simple.

The format for a field is {$fieldName} - and you will want to make sure not to start the field name with a number or have any spaces.

Here are a few examples of acceptable fields:

  • {$name}
  • {$EmailAddress}
  • {$Home_Phone}

Here are a few examples that are NOT acceptable

  • {$1stName}
  • {$email address}
  • {$1234}

 

The Build Your Own documents also have the ability to customize your document and the data that is received by processing it through different functions.  For more information on what you can do, please take a look at our Tips and Tricks

Here a quick image that gives you a visual representation of how to setup your documents:

Have more questions? Submit a request

4 Comments

  • Avatar
    Ryan Robinson

    I have custom inputs what is the proper formet, for my custom inputs?
    Here is what my Gravity Form looks like:
    Referred By Dr:
    {Referred by Dr::1}
    Today's Date:
    {Today\'s Date:2}
    Referral Location:
    {Referral Location:29}
    Introducing Patient:
    {Introducing Patient:3}
    Name of Parent / Legal Guardian:
    {Name of Parent / Legal Guardian:14}
    Account Number:
    {Account #:4}
    Phone Number:
    {Phone:5}
    Email:
    {Email:26}
    Date of Birth:
    {Date Of Birth:12}
    Pano Taken Date:
    {Pano Taken Date:13}
    Evaluation Type:
    {Evaluation Type:7}
    Ortho Appointment Date:
    {Ortho Appointment Date:31}
    Ortho Appointment Time:
    {Ortho Appointment Time:32}
    Potential Orthodontic Problems:
    {Potential Orthodontic problems::8}
    Special Instructions:
    {Special Instructions::9}

    I keep getting an error that says this:
    There is an error in your document: (word/document.xml) Syntax Error in template "string:" on line 9 "
    {$Ortho Appointment Date:31}" - Unexpected ":", expected one of: "}" , " "

    I dont know what is exactly wrong.. Can anyone point me in the right direction, so I dont get this error anymore?

  • Avatar
    Jeremy Clarke

    Hi Ryan,

    You're not allowed to use special characters in your merge fields. Only letters, numbers, and underscores. So instead of {$Ortho Appointment Date:31} you need to use something like {$Ortho_Appointment_Date} (leave out the colon as well)

  • Avatar
    Alan Nafziger

    So... How do I insert a page break in the Build Your Own editor? Is there a list of commands somewhere (like {if}, {foreach}., etc.?

  • Avatar
    Jeremy Clarke

    Hi Alan,

    There's a Page Break button you can use in the editor (looks like this: https://cl.ly/0p062B1R1P3B)

    For more commands, you can check out the Smarty documentation here: http://www.smarty.net/docs/en/

    Thanks!

Please sign in to leave a comment.
Powered by Zendesk