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

makingchoices
makingchoices
Offline

Badges

Badges
3

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
5

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by makingchoices
Customize the badges you want to showcase on your profile
Re: javascript access to dataconnection - Adobe LiveCycle 26-06-2009
Is there a way to determine the rowindex of the textfield inside the table (using javascript), so I can take the correct item from the returned nodelist?Peter

Views

351

Likes

0

Replies

0
Re: javascript access to dataconnection - Adobe LiveCycle 26-06-2009
Hi,a (hopefully) last question:I have a table on my dynamic form. The binding of a textfield inside my table is as follows:$.element1.element2[*].element3The result of this is that for each element2 under element1, the value of element3 is shown in the table as a separate row.So far, so good.But now, inside the javascript attached to the textfield, I want to know the value of an attribute on element3 that is shown in the current textfield. Is this possible?I tried a syntax like this:fa.resolveNo...

Views

352

Likes

0

Replies

0
Re: javascript access to dataconnection - Adobe LiveCycle 26-06-2009
xfa.host.messageBox(xfa.resolveNode("$record.generated").value, "XML value of 'generated' element",3)did the job. The name of the root element (QEDREP) was not necessary.thanks for your help,Peter

Views

352

Likes

0

Replies

0
Re: javascript access to dataconnection - Adobe LiveCycle 25-06-2009
Thank you for your help.Using the xfa.datasets.data.saveXML("pretty") function shows the complete xml, but I'm not able to get the value of a single element inside the xml.My xml is as follows: 2009-06-25 09:29:59I want to have the value of the generated element. When I use this javascript function to show the value, the messagebox is empty...xfa.host.messageBox(xfa.datasets.data.QEDREP.generated.value, "XML value of 'generated' element", 3);Can you help me once more, please?regards,Peter

Views

352

Likes

0

Replies

0
javascript access to dataconnection - Adobe LiveCycle 25-06-2009
Hi all,I have designed a dynamic form with a dataconnection that points to an XML file.The fields in my form are displaying the correct values from the XML file. That all goes well.But now, I want to set the color of some textfields depending on the value of a certain element in the XML file.How can I access an element from the dataconnection using javascript?Any ideas on the syntax I shoul use?regards,Peter VermeuleBelgium

Views

3.6K

Likes

0

Replies

9