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

Creating fields that are filled in sequence by selecting from a master list

New Here ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

I'm trying to create fields that are filled in sequence from an existing list of items that are selected by checkboxes.  I need an item to fill the first field in the colum, unless it already contains data, if so, I need it to use the next field, and so on.  I have a list of nearly 100 items that could potentially be selected.

 

I had limited success using an action builder in LiveCycle Designer and am able to duplicate data from the list into a form, but not to fill fields in sequence.  If I select items 1, 8, and 15 from the list, or any other combination of items, I need it to fill in fields 1, 2, 3, etc. on my form.  Hoping someone can help me with a JavaScript that would work for this.  I'm thinking that the fields would need to adjust if an item is unselected as well.  I am currently using checkboxes to trigger the items in the list.

Views

278

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 ,
Jun 09, 2020 Jun 09, 2020

Copy link to clipboard

Copied

So is this a PDF form built in LCD?

Votes

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
New Here ,
Jun 09, 2020 Jun 09, 2020

Copy link to clipboard

Copied

Yes it is.  Appreciate any help that you can provide

Votes

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 ,
Jun 09, 2020 Jun 09, 2020

Copy link to clipboard

Copied

I can't provide any help, I'm afraid. LCD forms are very obscure, and frankly kind of dead. I would strongly recommend you move to normal Acrobat forms.

Votes

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
New Here ,
Jun 09, 2020 Jun 09, 2020

Copy link to clipboard

Copied

Wouldn't the JavaScript be basically the same?  Anyway, I have access to Acrobat forms, but am not as familiar with it.  How would I create this same action in Acrobat Forms?  Thanks again

Votes

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 ,
Jun 10, 2020 Jun 10, 2020

Copy link to clipboard

Copied

LATEST

Some things are similar, others are very different.

Generally speaking, the way I would approach this task is to collect all the data from the first set of fields into an array (only populating it with the non-empty values, of course), and then iterate over the second set of fields and populate them in order based on the values in the array.

Votes

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