• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Barcode PDF417 - Auto sorting fields value

Community Expert ,
Oct 01, 2019 Oct 01, 2019

Copy link to clipboard

Copied

Hello,

When I create a Barcode field with PDF417 Symbology, I noticed that the fields content are automaticly sorted when I scan it. This when using Encoding Tab delimited or the Custom Calculated Script provided by Acrobat.

Does the only solution is to rename the fields so they appears in the correct sorted order?

Thanks!


TOPICS
Acrobat SDK and JavaScript

Views

321

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 01, 2019 Oct 01, 2019

Copy link to clipboard

Copied

You could modify the script that Acrobat provides and order the fields however you like.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 02, 2019 Oct 02, 2019

Copy link to clipboard

Copied

LATEST

That what I have done, but the fields are still sorted.

try
{
    if ( app.viewerVersion >= ADBE.PMD_Need_Version )
        event.value = strTabDelimited({oDoc: this, aFields: ["airwaybill", "Destination", "flight", "date"], bFieldNames: false});
    else event.value = " ";
}
catch (e)
{

 

the fields are still readed as "Destination", "airwaybill", "date", "flight"

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines