Skip to Content
0
Former Member
Apr 17, 2008 at 08:14 AM

Fill text field in table dynamically

86 Views

Hi there,

I've a table which consists of 5 columns.

The first column is not binded and should be filled with a concatenated string of two fields of the following context node:

|- IT_ITEM

|-- ARKTX

|-- TEXT

I know how to fill a text field dynamically (with JavaScript) via e.g.

xfa.record.IS_HEADER.NAME1_WE.value

, but not how to do that within a table. For instance, how can I access the value of fields ARKTX and TEXT for each table line?

I use the following subforms (type table and body item):

|- POSITIONS (binded to $record.IT_ITEM)

|-- DATA1 (binded to DATA[*]).

I tried to use something like

xfa.datasets.data.IT_ITEM...

, but it didn't work.

A second question:

Is it possible to have two lines in the table for each entry of IT_ITEM? How can I manage that? Do I have to include a DATA2 subform to the POSITIONS table?

I tried that, but the second line was not displayed.

Can you provide me links to tutorials for ADOBE forms to help me with these problems?

THANKS.