Which script should be used to retrieve every instance of the textfield within a repeating subform?
Which script should be used to retrieve every instance of the textfield within a repeating subform?
The correct script to retrieve every instance of the textfield within a repeating subform is 'var fields = xfa.resolveNodes('subform[*].textfield');'. The xfa.resolveNodes method is used to return all instances matching the specified SOM expression within the repeating subform, and 'subform[*]' correctly indicates all instances of the repeating subform.
Correct answer is D
Correct answer id D. B is correct when u know the exact instance you need, when you are looping through all instance using * , D is correct
Correct Answer is B