I have the following data entry fields set to "Use global data" in the bindings tab:
I want the three fields above to concatenate in a text field on other pages within the document.
The entry fields are all in tables within an input form on the first page and the data therein translates properly in subsequent documents.
However, when I attempt to use formcalc to concatenate the three fields above, nothing appears within the field.
When concatenating field values which use "global data" bindings, do I need to specify absolute paths?
What is the proper scripting for this to work?
Solved! Go to Solution.
The concatination has nothing to do with the binding (they are independant). The easiest way to get the proper reference to these obejcts is to put the cursor in the script editor where you want the reference to appear. Hold down the Cntrl key and move the cursor to the field that you want to reference. The cursor will change to a V. Once you get to the right field click the mouse button and the proper reference will be written to the script editor. Now you can type a "." and choose the method or property that you want to complete the expression.
Still not working, here is what I have:
Concat(xfa.resolveNode("INPUT.Customer.Row.Customer-City").value + xfa.resolveNode("INPUT.Customer.Row.Customer-Province").value)
Before you had replied I changed it to rawValue and the field is still blank.
Should it be set to Read Only Calculated?
What about the bindings tab on the concatenated field?
I also have it set to form:Ready on the script.
With the field set to User Entered Optional and No data bindings, it still does not show any text.
I have also allowed for the field to expand to fit in order to show, still nothing.