Try the following as the default value for "my:field1":
current()/../preceding-sibling::my:row[1]/my:field1
Here "my:row" is the repeating group and "my:field1" one of the fields in a repeating row. Note: The expression looks like this when the "Edit XPath (advanced) checkbox is checked. --- S.Y.M. Wong-A-Ton
"Erin" wrote:
[Quoted Text] > Forgive me if this has been asked before, but I couldn't find that it was. I > have a simple form with a single repeating table. When the user clicks to > add another row, I'd like to default several values from the previous row to > save possible re-entry. I have tried several things but couldn't get it to > work. > > Please help - > Erin
|