Expand my Community achievements bar.

How to close a XML data connection.

Avatar

Level 9

Hello All,

I am embedding xml data to a form. After filling the form the user will click a button (or it can be hidden) so that it will disconnect the embedded xml from the form. So that when the user clicks the submit as xml button only field values would be sent instead of the entire embedded xml data. Is it possible to implement ?

Thanks.

Bibhu.

2 Replies

Avatar

Former Community Member

Hi, i think i`m on the same boat

In first you should check all bindings in Object->Binding Tab.

If you are sure that everything is ok then try to use that:

var aaa = xfa.data.saveXML("pretty");

to check what have you got you should write also:

app.alert(aaa);

You should see pretty XML with all data and scripting property.

I hope that is what you want if not i`m curious of the right answer.

Avatar

Level 9

Hi,

I tried this, but it's of no use. I just want to close the data connection before submitting the form.

Thanks.

Bibhu.