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é
 
Top