Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

BARCODE 128 - possibility of binding 2 data fields to the barcode

Avatar

Level 4

Hi experts,

Is it possible to bind 128 Bar Code to two fields in Data View.

If yes, can you explain how. is it possible through scripting.

If no, is there any alternative to 128 BARCODE (bar code scanner system can 128 barcode category barcodes)

which will enable a 2 field binding instead on conventional 1 field binding?

Regards.

Rohit

0 Replies

Avatar

Level 10

The attached concatenates the raw values from two protected fields and encodes a Barcode 128 on the barcode initialize event.

// form1.page1.code128BarCode::initialize - (JavaScript, client)

xfa.resolveNode("form1.page1.code128BarCode.value.#text").value = form1.page1.chars1to4.rawValue + form1.page1.chars5to10.rawValue;

Untitled.png

Steve