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

SPLITTING THE RESULTS OF A FIELD?

Community Beginner ,
May 02, 2019 May 02, 2019

Copy link to clipboard

Copied

hi, I have the following script which isn't working?

I would like the MINISPL!1, MINISPL2, MINISPL3 to bring up MINI SPLASH VLUe, and numbers 4 - 6 to bring up MINI SPLASH WHITE??

The blue will end up in one field, the white in another? hope this makes sense

for (var i=1; i<=6; i++) {

    if (this.getField("MINISPL"+"1","2","3").valueAsString=="text") {

        event.value = "MINI SPLASH BLUE";

        break;

    }

}

TOPICS
Acrobat SDK and JavaScript

Views

121

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 ,
May 02, 2019 May 02, 2019

Copy link to clipboard

Copied

Please tell us for which Adobe product you're scripting so that a moderator can move the thread. Forum comments​ is for problems with the fora.

ABAMBO | Hard- and Software Engineer | Photographer

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 ,
May 02, 2019 May 02, 2019

Copy link to clipboard

Copied

Abambo  wrote

Please tell us for which Adobe product you're scripting so that a moderator can move the thread. Forum comments  is for problems with the fora.

My answer is not correct, however, it would be helpful if you answer the question of the product... 🙂

ABAMBO | Hard- and Software Engineer | Photographer

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 Beginner ,
May 02, 2019 May 02, 2019

Copy link to clipboard

Copied

It is in a pdf form, I have found a way round it now, thanks

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 ,
May 02, 2019 May 02, 2019

Copy link to clipboard

Copied

LATEST

Discussion successfully moved from Forum comments to JavaScript

Would you mind sharing your solution as others may have the same problem?

ABAMBO | Hard- and Software Engineer | Photographer

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