I am trying to setup a 'History' table in one of my forms. I have the repeating table and have setup the Insert to insert a blank row on resubmit if a certain field is not blank.
My next rule needs to be to populate that blank row (2 fields) with the data from 2 other fields on the form. I am using qRules (4.1) for the very first time with this so I am very, very new to it.
I am trying to follow the guidelines in the user guide but am not sure my syntax is right nor if I am doing it right.
So to do this I should do an action rule, with 'Set a fields value' and select Qrules - command. Then in the function box, enter this: (I think it might be right)
SetValue /xpath=/my:myFields/my:grpReplacement/my:grpReplacementIssue/my:Replacement/my:strReplacementIssued /value=/my:myFields/my:grpIssued/my:strIssuedBy
Here is my structure: Reference datastructure.png
When I try to set this rule though I get this error: "SetValue/xpath" does not point to a valid location path of a field or group.
Help!