This content has been marked as final. Show 2 replies
Unfortunately, I don't believe this is possible from an XFA data binding point-of-view. The way it works, in XFA, is that all fields with the same binding share the same value. Its like global but without actually giving the fields global bindings where they all have to share the same name.
If you had one data node in which data could be stored but you had 3 fields, each bound to it, with different values, how would you tell which value from which field to set into the data?
Unless you write some script to auto-split the data into the 3 fields somehow (by inserting some separators into the combined text) and leave only 1 of the 3 fields bound, I don't see how you'll achieve what you're wanting to do.
More answers at Stefan Cameron on Forms.
Thanks for the explanation. Why I wanted to do this is because we have some free form fields in our templates that will be pre-filled with blank value when the PDF is rendered, but the user can type in anything later. Hence we created a set of dummy fields in the schema that the template designer could use to bind the free form fields, using a different field in the data connection each time. But since the number of templates is huge, there is a probability that the same dummy field is bound to a differnt text fields in multiple letters, by mistake. If this is the case and the end user chooses to stitch these two templates, then we have a problem.
Hence, our template designers wanted a solution that will relieve them of the responsibilty to keep track of the free form fields and their bindings.