I have a form with a master/detail section. In the repeating table I have a section with contains 2 fields (I put it in a section so that I can hide the section if certain conditions are met). The section contains a drop-down and a check-box. If the person checks the box then it should set the drop-down equal to the preceding value. I can get it to work if I don't put the fields into a section. The section adds a sub-group to the repeating group:
myFields
group1
group2 (repeating)
field1
field2
group3 (the section / sub-group to the repeating group)
field3 (the drop-down)
field4 (the check-box)
I have a rule added to the check-box so that if selected it should set the current field equal to the preceding but nothing happens (I'm sure it is because I need to modify the xpath to account for the sub-group).
If I don't use the section to hold the fields then "preceding-sibling::my:group2[1]/my:field3" works fine. How do I modify it to account for when the field is a level deeper?
Sorry if this is lengthy or confusing.
Thanks.
Pat