1. Home
  2. Fields
  3. Barcode Field

Barcode Field

The Barcode Field is used to generate and display a barcode. The barcode’s type can be selected from 19 different options, and its value can be derived from a static value, XML element, or target.

The barcode’s text, and checksum can be hidden or displayed.

The barcode’s height, width, color, and background color can be customized.

Screenshot of the barcode field

Barcode Type

Specifies the barcode type from the list of options.

SymbologyCharacter SetLengthCheck Digits
Code 39(default)
[A-Z]; [0-9]; [ – . $ / + % ]

variable (avg. up to 20 chars)
optional (Mod. 43)
Code39ExtendedASCII (128 characters)
optional (Mod. 43)
Code 93
[0-9];[A-Z];[SPACE . + – / % $]
2 check digits
Code93ExtendedASCII(128 characters)2 check digits
EAN-13numeric [0..9]
12 usable digits
1 check digit
EAN-8
numeric [0..9]

7 usable digits
1 check digit
UPC-Anumeric [0..9]
11 usable digits (first is always 0)
1 check digit
UPC-Enumeric [0..9]
6 usable digits (first is always 0)
1 check digit
POSTNETnumeric [0..9]
variable
1 check digit
Code 11
[0-9]; [-]

variable

1 or 2 based on length
Code128LATIN-1 (ISO-8859-1)
variable
1 check digit
Code128A
ASCII 00 to 95 (0-9, A-Z and control codes), special characters

variable

1 check digit
Code128BASCII 32 to 127 (0-9, A-Z, a-z), special characters
variable

1 check digit
Code128C
ASCII 00-99 (encodes each two digits with one code)

variable

1 check digit
GS1-128depending on Application Identifier
variable
1 check digit
MSImod10numeric [0..9]
variable
1 check digit
MSImod11numeric [0..9]
variable
1 check digit
MSImod1010numeric [0..9]
variable
1 check digit
MSImod1110numeric [0..9]
variable
1 check digit

Note: Ensure the value matches the format required for the barcode type selected. If the format of the value does not match, the barcode will not render

Value Type

Determines the data source for the barcode.

The Static type is a value specified in a string field, the Target type is a value returned from a target, and the XML Element type is a value from a specified XML element.

Static Value

Only applicable when “Value Type” is set to “Static”.

Contains the value that will be used as the barcode value.

Where Do We Get the Data for This Control?

Only applicable when “Value Type” is set to “Target”.

Contains the target information of the target that will be called to get the value that will be used as the barcode value.

XML Element

Only applicable when “Value Type” is set to “XML Element”.

Determines what XML element will be used to look for a value to use as the barcode value.

Display Text Below

Determines if the text below the barcode will be visible.

Screenshots of barcodes with text and without text

Display Checksum

Determines if a checksum calculation will be displayed when available.

Screenshots of barcodes with checksum and without checksum

Height (px)

Determines the height of the barcode in pixels.

Width (px)

Determines the width of the barcode in pixels.

Colour (Default Black)

Determines the colour of the barcode and text below (if applicable). Any valid CSS, HEX, or RGB value is accepted.

For example, to set the colour to blue, “blue”, “#0000FF”, or “rgb(0, 0, 225)” can be used.

Screenshots of the default colored barcode and a blue barcode

Background Colour (Default White)

Determines the background colour of the barcode. Any valid CSS, HEX, or RGB value is accepted.

For example, to set the colour to blue, “blue”, “#0000FF”, or “rgb(0, 0, 225)” can be used.

Screenshots of the default colored barcode and a barcode on a blue background
Updated on August 20, 2024

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for?
Contact Support