Hi,
New to SAP Adobe and complete beginner at scripting.
I have an interactive form with a table which contains a grouping; hierachy view looks like this:
data
subform1
table1
data (row)
field1 (grouping field)
cell_table
data (row)
field2
field3
field4
Field4 is the only input field in the table. I have a pushbutton which I would like to initialise (clear) all occurrences of field4 in the table, but I haven't been successful.
I tried various combinations of $host.resetData("data.subform1.table1[*].data.cell_table[*].data.field4"]; but the best result was the initialisation of only the first occurrence of the field in the table.
Do I need to loop at all occurrences of table1, and within that loop, all occurrences of cell_table, and (resetData?) each field4 that way, and if so, how do I do it?
Apologies if this has been covered before, I've searched but not found....
Any help would be much appreciated.
Thanks.
Nigel.