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.
Barcode Type
Specifies the barcode type from the list of options.
Symbology | Character Set | Length | Check Digits |
Code 39 | (default) [A-Z]; [0-9]; [ – . $ / + % ] | variable (avg. up to 20 chars) | optional (Mod. 43) |
Code39Extended | ASCII (128 characters) | optional (Mod. 43) | |
Code 93 | [0-9];[A-Z];[SPACE . + – / % $] | 2 check digits | |
Code93Extended | ASCII(128 characters) | 2 check digits | |
EAN-13 | numeric [0..9] | 12 usable digits | 1 check digit |
EAN-8 | numeric [0..9] | 7 usable digits | 1 check digit |
UPC-A | numeric [0..9] | 11 usable digits (first is always 0) | 1 check digit |
UPC-E | numeric [0..9] | 6 usable digits (first is always 0) | 1 check digit |
POSTNET | numeric [0..9] | variable | 1 check digit |
Code 11 | [0-9]; [-] | variable | 1 or 2 based on length |
Code128 | LATIN-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 |
Code128B | ASCII 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-128 | depending on Application Identifier | variable | 1 check digit |
MSImod10 | numeric [0..9] | variable | 1 check digit |
MSImod11 | numeric [0..9] | variable | 1 check digit |
MSImod1010 | numeric [0..9] | variable | 1 check digit |
MSImod1110 | numeric [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.
Display Checksum
Determines if a checksum calculation will be displayed when available.
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.
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.