ScottSimcox
2 days agoQrew Trainee
Document template barcode field
I'm creating a document template and I want to add a barcode of a text field. I've added this to the source directly from a rich text formula field. The resulting document is displayed as ...
- 2 days ago
1.) Create a new rich text formula field.
2.) In the formula, use this:
"<img src=\"https://barcode.tec-it.com/barcode.ashx?data=" & [First Name] & "\"/>"Note: In my example I'm using a field called "First Name", change to the name of your field. Also the exact syntax will depend on what kind of content is contained in your field, but this should work assuming it's plain text.
3.) In your document template, add the new formula field either from the easy "Add Elements" feature or from the source like this:
<qb-field field-id="53"></qb-field>Replace the "53" with the field ID of your field.
Result: