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

Remerging Subforms

$
0
0

Hi All,

 

I have a form with multipul subforms. I was able to figure out how to have a reset button that reset and remerged the entire form using xfa.host.resetData() and xfa.form.remerge().

 

Armed with this knowledge I then wanted to do the same except for a subform. When I use xfa.host.resetData(Subform1.somExpression) the data in Subform1 is reset (great). The problem comes when I use xfa.form.remerge(Subform1.somExpression). The data resets but no merging happens (not great), if I use xfa.form.remerge() the data resets but the whole document remerges.

 

How can I get it so that just for example Subform1 resets and remerges?

 

ps. the button I am using is within the subform I want to reset and remerge. But I can create one out of the subform if needed (prefer not to though (only for the look of the form)).

 

Thanks in advance

 

Pete

 

 


Viewing all articles
Browse latest Browse all 5571

Trending Articles