Hello!
I have over 3 thousand XML files containing information to be converted into PDF files. Among the info I have fields like:
<REASON1>X</REASON1>
<REASON2></REASON2>
So on the XDP fields this translates as checkboxes.
So I tried this script to mark the correspondent checkboxes in the resulting PDF:
if (xfa.resolveNode("REASON1").rawValue == "X") {
this.rawValue = 1;
}
Well, it doesn't work.
The checkbox is identified as REASON1 in the Binding tab, everything looks correct to me.
Please, what am I doing wrong?
Thank you for any hints!
Marcos
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Marcos,
Just a suggestion - would it help if you changed the On value of the checkbox to X in LC Designer, Object > Binding palette? Instead of 1.
Niall
Views
Replies
Total Likes
Hi Marcos,
Just a suggestion - would it help if you changed the On value of the checkbox to X in LC Designer, Object > Binding palette? Instead of 1.
Niall
Views
Replies
Total Likes
Hi Niall,
Would you believe if I told you I had already tried this and it hadn't worked?
After your suggestion, I tried again. And guess, it worked.
I had probably missed something ...
Thank you!!!
Marcos
Views
Replies
Total Likes
ahh, the joys!! Have a good weekend Marcos!!
Views
Replies
Total Likes
Views
Likes
Replies