Read elements value from repeating section - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Code » Read elements value from repeating section Read elements value from repeating section Last post 06-04-2007 09:52 AM by Greg Collins. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 06-04-2007 03:32 AM Raoul Joined on 05-05-2006 Posts 32 Read elements value from repeating section Reply Contact I have a repeating section like this: repeating section name subname button I need to capture, on button onclick event, name and subname corresponding value .Can you help me? Thanks in advance. 06-04-2007 09:52 AM In reply to Greg Collins Joined on 08-08-2006 Posts 2,126 Re: Read elements value from repeating section Mark as Not AnswerMark as Answer... Reply Contact In the button click handler you have an event object parameter. This is where you want to look. For managed code it is named "e" for script it is named "eventObj". The "Source" property is the specifc row node that the button is on.So if you want to get the name field value of the row the button was clicked on, you would do (IP03 C#): string sName = e.selectSingleNode("name").text Please Visit:BraintroveGreg's Paintings Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
I have a repeating section like this:
repeating section
name
subname
button
I need to capture, on button onclick event, name and subname corresponding value .
Can you help me? Thanks in advance.
In the button click handler you have an event object parameter. This is where you want to look. For managed code it is named "e" for script it is named "eventObj". The "Source" property is the specifc row node that the button is on.
So if you want to get the name field value of the row the button was clicked on, you would do (IP03 C#): string sName = e.selectSingleNode("name").text