current selected node in repeating table

H

Help me

Hi there,

I have been spending about week now trying to get the current selected node
from a repeating table. Always the same bloody issue, it selects the first
record all the time guaranteed.

Im not using any hardcore dev tools just plain old simple Javascript.

Im sure someone out there has encountered the same problem. Please send some
material or point to a material. I have tried Patrick Halsted method,
unfortunately it didn't work for me.

cheeras
 
F

Franck Dauché

Hi,

For a repeating table, you can reach the nth row in JScript using:
var node =
XDocument.DOM.selectSingleNode("/my:myFields/my:group1/my:group2[n]/my:field1");

(assuming that you dropped a repeating section with one field on a new blank
from)

Hope that it helps.

Regards,

Franck Dauché
 

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