Expand my Community achievements bar.

is it possible to read a value of a data field in xfaForm ?

Avatar

Level 2

Hi,

The problem is that i can set a value of an xfa Form data field '/process_data/inForm/object/data/xdp/datasets/data/FormXML/myField' to a vaue like "myValue", but if i need to get it ie: i use  "x+y" service and i map myField to a variable when i debug i see that the variable is empty, but myfield is filled on the form and i can see this when i view the form.

any suggestion ?

Thanks

2 Replies

Avatar

Level 10

Yes, this is definitly possible.

If you use a set value you should be able to put the content of /process_data/inForm/object/data/xdp/datasets/data/FormXML/myField into a string variable.

Jasmin

Avatar

Level 2

Hi,

Can you provide the expression that you are placing in the SetValue QPAC? Make sure that you are setting the value first then assigning it to your variable.

Regards,

Waqas