Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Reset all fields in a repeating subform and restore instance count back to 1

$
0
0

I've played around with a few different scenarios and able to achieve parts of the solution, but not there fully.

 

Whenever I use.....xfa.host.resetData("xfa.form.form1..."); ...it only resets the fields in the 1st instance of the repeating subform. So if I have 3 instances, it only resets instance 1.

 

Currently, the subform is set to an initial count of 1, and additional instances are added via an "Add" button.

 

Thus, I'm looking for a solution that will not only reset all content within a "specific" subform (not entire form), AND restore the instance count back to 1.

 

Thank you in advance!!!


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>