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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Dynamically change the binding of a field

jonathanb536647
Level 2
Level 2

Hi,

I've been looking all over the internet for 2 days to find the answer to my question, but I couldn't get any information on my problem. Here's what i'm trying to do :

Based on a checkbox in my form, I want to export or I don't want to export a field to a XML document.

My checkbox is working properly and I got the Send button with the XML working too. I only need to find a way to dynamically change the binding property of my field. I've read some informations with the ".bind.match", but I can't seem to make it work.

I'm using Windows XP, LiveCycle Designer ES2 v.9.0 and I have to run the form in Reader 8.0.

Thanks alot for your help, it's greatly appreciated.

Jonathan

2 Replies
radzmar
Level 10
Level 10

Hi,

the binding cannot be changed at runtime.

You can use the checkbox to delete the value of the field so the exported xml contains an empty tag.

Or you try to delete the data node of the desired field in the data DOM (xfa.datasets).

jonathanb536647
Level 2
Level 2

Thanks alot i'm gonna look if I can work it out with the xfa.datasets.