How to get Repeating table value by code?

L

lior

My InfoPath form contain a Repeating table and button. I want on the Click
event to read (in loop) all the Repeating table rows and values in each row.

How to do it in Javascript?
 
K

K.Ramana Reddy(GGK Tech)

Hi,

You need to get the node list for eery table.

//Getting the node list
var NodeList = XDocument.DOM.selectNodes("Xpath of your repeating table
parent node");

You can read every node in the NodeList using any loop.

I hope this will help for you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top