Hi,
I was experimenting with noderesolve and I have some stuff that I can not figure out.
Scenario that I am developing is, that you have a repeating subform with some elements in it. One of the elements is drop-down list box. I have managed to make sure, that only last one is enabled (active to the user). Now, I have remove button in that subform, that removes that specific instance.
The drop-down consists of number row e.g. 1..5 If you pick 2 in the fisrt occurance, in the new subform the number 2 won't be available.
I have also managed, that when you delete specific instance, the number that was selected returns to the array of available numbers (stored in hidden textfield).
My question is, how can I force to populate the drop-down in the last occurance. I would like to clearItems and than manually populate it again from updated array.
Problem I am facing is how to targer that specific element.
The hierarchy is:
Subform "repeater"
-sub "pt1"
-element drop-down list
-sub "pt2" (elements are not important)
-sub (untitled subform)
-element delete button
--- out of the repeater subform ---
-element add new occurance of repeater button
Advices would be highly appreciated. I want to populate the drop-down list element in the last occurance of repetative subform "repeater" through action click on the delete button in subform "(untitled subform)" in any occurance exept the last one.
Thanks
J.
If you neded the code, post something here.
J.
Adobe LiveCycle ES 8.2.1 (JBoss & Win)