I have a form which has a floating field in the header of a table that is changed prior to filling out the form. When the table flows to the next page, I have it so that the headers populate to the next page. The problem is that the floating field information in the header does not appear on the next page. It's just a blank space. Only the other headers, which are not changed, appears on the next page. What can I do?
you surely use data binding for the floating field and your problem is that a data field in the XML can only be used once - when consumed by the first header floating field it will not be filled again for all the others.
I have a simple form and a simple XML:
<root> <testhdr>test</testhdr> </root>
To make this work use name binding for the floating field and in the initialize event of the field put
this.rawValue = xfa.record.testhdr.value;
The "testhdr" is the path in your XML without the root-node and .value is required to get the content of the tag in the XML.
Let me be more specific with my question. On my form, I have a drop down box listing choices. The item chosen from the drop down list is populated into a floating field which is in the header of the table. When the table flows to the next page, the headers of the table flows to the next page as well. My problem is that the information that is in the floating field of the header on the first page does not move to the next page. The header box on the next page is empty. Maybe this explanation is better and will result in a fix. Your help is greatly appreciated.
For some reason, it's not working. I do not see "testhdr" in the hierarchy section in your example, so I do not know what to enter in it's place. Also, should it be "xfa.record" and do I enter the ; after value or not. Your picture does not have the semi colon at the end. FYI - I'm using live-cycle.