J
Janie
In XPath, how can I say, "go to field1 in the previous repeating section and
return the value in field2 of this repeating section?" I'm trying to do this
with a rule that actions when a new repeating section is made, but the value
in the very first field1 occurs in all field2s in all subsequent repeating
sections. I feel like my indexing isn't right...field2's function seems like
it would be as easy as something like
/my:form/my:repeatingSection/field1[position()-1], but I haven't been able to
get it.
I've tried giving this a go in js (from a previous suggestion), but am only
teaching myself js now, so am having difficulty with this as well...am a bit
new to xpath too.
Any suggestions greatly appreciated...
return the value in field2 of this repeating section?" I'm trying to do this
with a rule that actions when a new repeating section is made, but the value
in the very first field1 occurs in all field2s in all subsequent repeating
sections. I feel like my indexing isn't right...field2's function seems like
it would be as easy as something like
/my:form/my:repeatingSection/field1[position()-1], but I haven't been able to
get it.
I've tried giving this a go in js (from a previous suggestion), but am only
teaching myself js now, so am having difficulty with this as well...am a bit
new to xpath too.
Any suggestions greatly appreciated...