Hi,
Thank you all. I was missing the /xpath= statement and this command now works.
However, I now have another issue and it is this:
I have a preview section that displays a couple of cascading dropdown boxes. My desired outcome is that when the user selcts the values in those dropdown boxes, the values will be placed in a new row in the repeating table. There is an "Add to List" button in the preview section that uses the Insert command to add the row, which it does successfully, Within the same action, I use two SetValue commands to populate the repeating table. This works fine for the first row, but when I add any subsequent rows, all the rows get populated with latest selection from the dropdown boxes.
The InsertRows rule that I have set up contains the following actions:
my:position + 1
concat("Insert /parent=/my:Referral/my:LegislationDetails /child=/my:LegislationRecord /posn=", position)
concat("SetValue /xpath=/my:Referral/my:LegislationDetails/my:LegislationRecord/my:legislationcat /value=", legislationcategory)
concat("SetValue /xpath=/my:Referral/my:LegislationDetails/my:LegislationRecord/my:legislationref /value=", legislationtype)
Can you please advise?
Thanks
Padraic