-
Sure - you can use a rule to set the the RepeatingGroup node in your qRules mapping for your submit to include an XPath filter with the index of the row you want. So - the field is /myFields/Mappings/RepeatingGroup, and your rule could use (for example) count of preceding sibling + 1 to set it. Like: ...
-
I think a default value would do this then, but I'm confused by your nested repeating data. Can you help me understand why both the group and the field are repeating?
-
Will there be any starting data in the liters in the table on the settings page? Or will it always just be the total from the other table when the user fills up the car?
-
So - you want to update this when the "OK" button is clicked?
-
Got your private message on this - under the submit options, set to use rules. Please see the attached screenshot. I'm guessing if you don't see the "Option" tab when you replied, you used quick reply?
-
I used InfoPath for YEARS before I noticed that dropdown. It really does make building this kind of condition a lot easier. :)
-
What is the data source for the dropdown list? If XML, you could intentionally leave the first node blank, and then set that blank item to the value in your text box. If a SharePoint List, I suppose you could also have a blank item... You will probably need some helper fields in the 2ds to make that happen without accidentally setting all the ...
-
Sounds like something that you should use a workflow for - you need a Flow (if Office 365) or SharePoint Designer workflow on your separate list, so when items change there you can go update the list you are wanting to keep in synch. InfoPath rules only run when the form is used, of course, and if the user doesn't save the data, the list ...
-
So - the VendorSearch field is inside the repeating group? And the rule is on VendorSearch? Attach your form under the Options tab in a reply if you'd like me to take a quick look.
-
Change your Submit to use rules. Then you can have multiple actions. Or change your submit button on your form to do both ... Attach your form to a reply under the options tab if you'd like me to take a quick look.