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

Bookashade
Community profile Bookashade Level 2
Job title here
Location here
7 BADGES
Level 2

Level 2

Learn more
Joined the community 30-10-2015 1:10:08 AM
Offline
Top badges earned by Bookashade
Customize the badges you want to showcase on your profile
Looping through xml nodes with Javascript
Avatar
Give Back 5
Level 2
Bookashade
Level 2

Like

1 like

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 3
Give Back
Ignite 1
View profile
Bookashade
- Adobe LiveCycle
Hello,I need to loop trough an xml file and look for a certain fieldname(otherAddresses). There are about 6 fields named otherAddresses and each of them has a field named "PublishingTypeID". Now, depending on the value of PublishingTypeID, I have to select that specific OtherAddresses field and get the value from it's Childfields.So, for example. If otherAddresses.publishingTypeID has a value of 2, I have to get the value of otherAddresses.lastName from that specific otherAddresses field.The ima...

Views

714

Like

1

Replies

0
Re: Data bindings are lost when adding multiple fragments to a form
Avatar
Give Back 5
Level 2
Bookashade
Level 2

Like

1 like

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 3
Give Back
Ignite 1
View profile
Bookashade
- Adobe LiveCycle
Ok, so I discovered something essential but still can't seem to find a solution.The reason why only the first two fragments have data bindings and the third one doesn't is because of this the xml file: The first fragment gathers the data from the first instance of "PublishingSubRequest" in the XML, the second fragment from the second instance but there isn't a third one, hence the lack of databindings from the third.The databindings in the fragments are bound by $.publishingSubRequest[*], using ...

Views

168

Likes

0

Replies

0
Data bindings are lost when adding multiple fragments to a form
Avatar
Give Back 5
Level 2
Bookashade
Level 2

Like

1 like

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 3
Give Back
Ignite 1
View profile
Bookashade
- Adobe LiveCycle
Hello,I have a document that I made up out of separate fragments. Now, the first two fragments that I add work as they are supposed to, but the third one I add loses it's databindings.It only loses the databindings that are made using the ALD interface, the bindings that have been added with conditions (through Javascript) remain. They are added like these: vPlanTypeIndicator = $data.resolveNode("publishingBatch.publishingSubRequest.functionalData.contract.publishingData.planTypeIndicator").valu...

Views

282

Likes

0

Replies

1
Re: How do I make a subform dynamic so that a textfield which is empty will be considered non-existing.
Avatar
Give Back 5
Level 2
Bookashade
Level 2

Like

1 like

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 3
Give Back
Ignite 1
View profile
Bookashade
- Adobe LiveCycle
I used something similar (by building it in the action builder) but it works !It's something like this: ((this.resolveNode("$").rawValue == null || this.resolveNode("$").rawValue == "")) { this.resolvenode("$").presence = "hidden";}Thanks for pointing me in the right direction!

Views

152

Likes

0

Replies

0
How do I make a subform dynamic so that a textfield which is empty will be considered non-existing.
Avatar
Give Back 5
Level 2
Bookashade
Level 2

Like

1 like

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 3
Give Back
Ignite 1
View profile
Bookashade
- Adobe LiveCycle
Hello,I have the following subform:What I want to accomplish is that, when P2 and/or P3 is empty, that the space between "nrEntrepriseClient" (Ondernemingsnummer) and the text block at the bottom will be gone in PDF view. There are conditions bound to P2 and P3, so when these are not met, the field will not appear.Right now, my PDF view is the following:It's that whitespace between "Ondernemingsnummer" and the text block that I want gone.The subform is in Flowed and Western text, putting it in T...

Views

298

Likes

0

Replies

2
Re: Getting value from an XML file and adding conditions to these values
Avatar
Give Back 5
Level 2
Bookashade
Level 2

Like

1 like

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 3
Give Back
Ignite 1
View profile
Bookashade
- Adobe LiveCycle
Hi Bruce,I tried but the caption still remains empty, here are some more screenshots of the result:The correct xml is uploaded in adobe, so I don't know why he doesn't fill up the caption 😕Kind regards,Jens

Views

164

Likes

0

Replies

0
Re: Getting value from an XML file and adding conditions to these values
Avatar
Give Back 5
Level 2
Bookashade
Level 2

Like

1 like

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 3
Give Back
Ignite 1
View profile
Bookashade
- Adobe LiveCycle
Hello,Thank you for replying!I tried changing the code to the following, eventough without any succes:I tried solving this issue with the Action Builder, which in some cases helps, but unfortunately it does not work in this case.Kind regards,Jens

Views

165

Likes

0

Replies

0
Re: Getting value from an XML file and adding conditions to these values
Avatar
Give Back 5
Level 2
Bookashade
Level 2

Like

1 like

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 3
Give Back
Ignite 1
View profile
Bookashade
- Adobe LiveCycle
re-up !

Views

167

Likes

0

Replies

0
Re: Getting value from an XML file and adding conditions to these values
Avatar
Give Back 5
Level 2
Bookashade
Level 2

Like

1 like

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 3
Give Back
Ignite 1
View profile
Bookashade
- Adobe LiveCycle
Additional info: The "N° de Chassis" or "N° de Serie" will appear in the left box of the text field. The right field will be filled in using a binding.

Views

165

Likes

0

Replies

0
Getting value from an XML file and adding conditions to these values
Avatar
Give Back 5
Level 2
Bookashade
Level 2

Like

1 like

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 3
Give Back
Ignite 1
View profile
Bookashade
- Adobe LiveCycle
Hello,I'm trying to get the value from an xml file and then adding conditions to those values. The code I have goes something like this:for some reason, it is not getting the value.If the value of the field "vehiclOfNonVehiclFlag" is V, then "N° de chassis: " should appear in the "nrSerieChassisTextField" field. If it's "N", then N° de serie should appear in the "nrSerieChassisTextField" field.Now the field just remains empty and I have no idea how to resolve this. Here is a snap from the XML fi...

Views

464

Likes

0

Replies

7
Likes from