Preceding-Sibling - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Preceding-Sibling

Downloads: 2,960 File Size: 5.5kB
Posted By: ErnestoM Views: 4,231
Date Added: 04-29-2009

This form sample uses preceding-sibling to default a new row in a repeating table to the values in the row immediately prior. It also has a row counter that combines preceding-sibling with the count function!

Filed under:

Comments

 

vivasuzi said:

I used this in one form, but I cannot for the life of me get it to work in another form even though I'm using the exact same structure. count(preceding-sibling::groupName) + 1 Works fine in one form count(preceding-sibling::anotherGroupName) + 1 Tells me it doesn't point to a valid location. I tried count(preceding-sibling::anotherGroupName/FieldName) + 1 and got the same error. i'm pulling my hair out over this b/c I'm pretty much duplicating what I've done in the other form and it won't work. Any suggestions?
07-14-2009 01:05 PM
 

Patrick Halstead said:

Hi VivaSuzi, We'd have to look at your forms. I recommend our InfoPath Detailing service - costs $50 and you'll find other stuff out plus we can fix your issue. Otherwise, just send the forms and we'll take a quick look, but can't promise we'll solve it in 5 minutes.
07-16-2009 02:06 AM
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.