Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Move Data Between 2 xfaForms

Avatar

Avatar
Validate 1
Level 3
The_Flex_Viking
Level 3

Likes

2 likes

Total Posts

121 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 3
The_Flex_Viking
Level 3

Likes

2 likes

Total Posts

121 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
The_Flex_Viking
Level 3

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

Avatar

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile
Jasmin_Charbonn
Level 10

26-11-2008

You should be able to go from Form B to Form A directly. You must be doing something wrong.



Jasmin

Avatar

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

Avatar

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile
Jasmin_Charbonn
Level 10

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