Skip to main content

Barcode Control

Generate a barcode or QR code from a form value, then verify the displayed or printed result.

Use the Barcode control to generate a barcode or QR code from a field, variable, or fixed value. You can use it on forms, delivery notes, and printed labels. To read an existing code, use the Barcode scan action.


Example Use Cases

  1. In a Delivery Order form, add a Barcode control and set the barcode type to CODE128.

  2. Bind Barcode value to the OrderID text field. Storing identifiers as text preserves prefixes and leading zeros.

  3. Enable the option to show barcode text and set the position to bottom.

  4. Enter No data available in Fallback and leave Hide if value is empty off so the message can appear when OrderID is blank.

  5. Preview two orders and scan each generated label. Compare the decoded value with its OrderID. Preview a blank OrderID to check the fallback.


Settings Overview (Content → Appearance)

Barcode Appearance settings with CODE128, a bound value expression, barcode text, text position and fallback controls.

  • Barcode type
    Select the barcode standard to generate, such as CODE128, EAN-13, or QR.

    Choose the type that best fits your business requirements.

  • Barcode value
    Input or bind the value to be displayed in the barcode. It can be a fixed value or dynamically sourced from a form field or variable.

  • Show barcode text
    Display the encoded value as readable text. Use Text position to put the text above or below the barcode.

  • Text position
    Set the position of the barcode text: Bottom or Top.

  • Hide if value is empty
    When enabled, the control will be hidden if the barcode value is empty.

  • Fallback
    Show a message when the barcode value is empty. Leave Hide if value is empty off and check the empty state in preview.

  • Dynamic display rules
    Configure conditional logic to control the visibility of the control, allowing for flexible page interactions.


Tips

  • The Barcode control is especially useful in document printing and mobile scanning scenarios.

  • Choose a format your scanner supports. Print a sample at the intended size with clear space around the code, then scan it with the device you will use and compare the result with the source value.

Did this answer your question?