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

johnqdaily
johnqdaily
Offline

Badges

Badges
13

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
115

Discussions

Discussions
64

Questions

Questions
51

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by johnqdaily
Customize the badges you want to showcase on your profile
Re: XML Data in Text Field Issue - Adobe LiveCycle 12-05-2010
Paul,Here is what I was trying to do. I tested it in the exit event of my dropdown list and it worked perfect. It returned the subordinate node placement in the xml.-------------Begin Code --------------//Parse my xml from the text field.var myXML = XMLData.parse(topmostSubform.Page1.subformStatChngForm.subformEmployeeData.subformEmplChanges.txtXMLString.rawValue, false);//Since I already stored the node length in another field on the initialize event of my subform I was able to use that for the...

Views

569

Likes

0

Replies

0
Re: XML Data in Text Field Issue - Adobe LiveCycle 12-05-2010
Yes.

Views

560

Likes

0

Replies

0
Re: XML Data in Text Field Issue - Adobe LiveCycle 12-05-2010
This is where I am having my problem. Creating a loop to search through the all of the nodes.John

Views

562

Likes

0

Replies

0
Re: XML Data in Text Field Issue - Adobe LiveCycle 12-05-2010
I tried it and it didn't work. I was giving random numbers that didn't correspond to its place in the xml structure.Thanks,John

Views

564

Likes

0

Replies

0
Re: XML Data in Text Field Issue - Adobe LiveCycle 12-05-2010
Paul,Actually there is. I will try that and let you know.Thank you for your help!John

Views

566

Likes

0

Replies

0
Re: XML Data in Text Field Issue - Adobe LiveCycle 12-05-2010
I can access the nodes but what I need to do is when a user makes a selection in the dropdown list and selects an employee's name, I need to get the rest of the data from the node associated with that employee. If I could get the number of the node that is selected when the user selects the employee then I can work it out from there, but I can't seem to.Thanks,John

Views

569

Likes

0

Replies

0
Re: XML Data in Text Field Issue - Adobe LiveCycle 12-05-2010
The XML structure is the same as what I posted above.Here is my code that I use to extract out the full_name and employee_id:--------- Begin Code -------------//Parse out XML from text field.var myXML = XMLData.parse(xfa.resolveNode("topmostSubform.Page1.subformStatChngForm.subformEmployeeData.subformEmplChanges.txtXMLString").rawValue, false);//Get the node count of subordinates for the For loop.var nodeCount = myXML.Subordinates.nodes.length;//Message box is just for debuggingxfa.host.messageB...

Views

563

Likes

0

Replies

0
Re: XML Data in Text Field Issue - Adobe LiveCycle 12-05-2010
Paul,This worked perfect. Thank you.I have one more question.I have assigned the full_name and employee_id to the dropdown list and am able to extract the employee id for use in another field whenever a selection is made in the dropdown.My problem is that I don't know how to access the rest of the data in the node for that person that is selected.Any thoughts on how to get the number of the node that is selected in the dropdown?Thanks,John

Views

571

Likes

0

Replies

0
Re: XML Data in Text Field Issue - Adobe LiveCycle 11-05-2010
I must be missing something somewhere becuause I couldn't get it to work. Here is the xml that I am getting back when I invoke the CFC from within Workbench. This data is assigned to an XML type varialbe called 'xmlOutput'. I then create a data connection in my form to the service I created in Workbench and bind the return data to a text field (with multiple lines). When I bind the data I have the option to choose "document" or "element". Element doesn't return anything, unless I am doing someth...

Views

562

Likes

0

Replies

0
XML Data in Text Field Issue - Adobe LiveCycle 10-05-2010
LC ES 8.2.1.3I have a web service that outputs XML data and Designer calls the webservice and the XML data populates a text field. This works fine.My problem is getting the data out of the text field to populate different fields in my form. I have done many searches and have tried many different things but still can't get the data out. I have made sure my form is dynamic xml.Here is the last thing I have tried:-------Begin Code -----------Placed in testData:Intialize and the connectionSet is pla...

Views

3.5K

Likes

0

Replies

18