-
1. Re: Saving .PDF with Repeatable Subforms Adds a New Instance.
past-tense Sep 29, 2011 1:37 PM (in response to past-tense)Hello again everyone,
I've found the answer to my own problem. I had a heck of a time Googling the issue, so I'm going to put some of the phrases I tried at the bottom, in case some like-minded individual has a similar problem.
The main issue was with the databinding. I had left the databinding for everything as the default 'use name (...)'. I was under the impression that so long as no sibling elements were named the same thing, there wouldn't be a conflict. I was wrong.
In my form, I used static subforms to organize the layout of fields within a dynamic repeatable subform. The static subform was called 'sf_positioning'. It just so happened that this field had an uncle named the same thing. This was close enough to cause a conflict, making the repeatable subform register an additional instance each time the data was saved. This can be fixed in one of two way... 1) set one of the offending subforms to use 'no data binding' (only use this if the content of the subform isn't to be exported or merged) or 2) give the subforms unique names.
I need to look into whether everything needs to be uniquely named... Like I said, it made more sense to me that the only restriction should have been on the sibling elements, but from now on I'm going to make sure that there are at least three degrees of separation between any like named controls/subforms.
Hope that helps someone else...
And the following were some of my attempts at googling the issue. Hopefully this will mkae the solution easier to find for others:
- Reader extending dynamic form breaks repeatable subforms.
- Saving adds a new instance to repeatable subform.
- Every time I save, I get more blank instances of a repeatable subform.
- Repeatable subforms not functioning as expected.
-
2. Re: Saving .PDF with Repeatable Subforms Adds a New Instance.
past-tense Sep 29, 2011 1:40 PM (in response to past-tense)Note: I removed the my sample pdf, so the link is now broken.
-
3. Re: Saving .PDF with Repeatable Subforms Adds a New Instance.
Dolorem_Ipsum Jul 27, 2012 12:17 AM (in response to past-tense)Thanks for posting this. I was going nuts trying to solve the same problem.

