Highlighted

Move Data Between 2 xfaForms

The_Flex_Viking

25-11-2008

Assume I have process with 2 xfaForm variables, Form A (a PDF) and Form B (a PDF). A user fills out Form A. I want to populate values in Form B with the data from Form A.



When I try to assign a value (using SetValue) directly from form A to form B, it doesn't seem to work. That is ...



Location: /process_data/form_B/object/data/xdp/datasets/data/FormB/Value1

Expression: /process_data/form_A/object/data/xdp/datasets/data/FormA/Value1



It does work however when I use a temporary XML variable, say xml_data. That is, I move the data from Form A to xml_data, and the move the data from xml_data to Form B.



Why would this be? What is wrong with directly moving data between my xfaForms? What am I missing?

Replies

Highlighted

Avatar

Guest

09-03-2009

Hi Brad Steele,



I'm new in ES, n have experienced the same problem that u had sometime ago of trying to pass values from FormA to FormB, can you please help me out on this one
Highlighted

Jasmin_Charbonn

10-03-2009

Try to use a SetValue and equal the data node of the two form variable. Somehting like:



/process_data/form_B/object/data = /process_data/form_A/object/data



Jasmin