You searched for the word(s): preceding-sibling
-
so that didn't work either, I've modified the rules and filters a bunch and still cant seem to get it right. Sorry i'm being confusing, What i'm trying to make happen, is when an SO gets selected, the section in the top right should show the vendors attached to the selected. and to not show anything when the SO is blank. I feel it ...
-
Hilary - Many thanks this has sorted it...and sorry I didn't see your sample on the first reply. It was this one that did it for me. thanks again,
Mike
-
hello again.
I change my formule like this. its working but i must to press "add row" for each person. its not autofill all lines. where is my mistake?
xdXDocument:GetDOM("form1")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[count(current()/../preceding-sibling::my:group2) + 1]/d:Personel
best regards
-
Okay, I have something going that is working nicely. Here is the gist of it.
Schema looks like this:
my:Fields
my:Group
my:field
my:row
my:Group is a repeating group. my:field is a picture file. my:row has a default value of count(../preceding-sibling::my:Group)+1. This means that for a given InfoPath form, each row element is a ...
-
Oh, and I see now you don't need leading zeros at all - I'm sorry, I'll attach another sample w/out that in a sec.
-
I should have mentioned there was a sample instead of just linking to Jimmy's formula that helped me! Glad you have things working.
-
Yuck. You might try setting postback to always on the list control - right click the control and under browser set the radio to always, see if that makes a difference? Any XPath reference will talk about preceding-sibling - I like this one: http://zvon.org/xxl/XPathTutorial/Output/examples.html
-
Hi Hilary,
I am having a similar issue as the OP. I am attempting to pull field data from a repeating table in a secondary data source to populate a repeating table in my main data source. My secondary data source is a SharePoint InfoPath form library. I am not able to use code as my site does not allow it. I am trying to use default data and ...
-
Maybe try this one? I left the preceding sibling rule, but you can remove it if it isn't needed. Sometimes when trying to figure these things out it is easiest to change colors for the section instead of hiding - then you can see which rule is being applied.
-
Thx Hilary,
A stripped down form is attached. The only field that does not have preceding-sibling is the Start Date
It works fine in the filler but not after it's published to SP Online version 16.