Alec Pojidaev's InfoPath Blog
Stuff published for no reason (cool codeless infopath solutions mostly)

Archive for the ‘iterate’ Category

Combining two datasources in XPath

February 10, 2012

This post is a result of solving real life problem for one of my coworkers. The task was to make a multiple choice from secondary datasource and then present this choice on the summary page as a concatenated string. Not too complex, right? The problem was that the multiple choice control was displaying titles while […]

Accessing rows in repeating group for browser enabled forms

January 7, 2010

There are not so many differences in versions of XPath between regular forms and web enabled ones. But inability to reference rows in web enabled forms by the index is one of the most annoying. Here are several XPath formulas useful when interacting with repeating tables: 1. The current row index expression: count(preceding-sibling::*[local-name() = “MyRepeatingGroup”]) […]

Infopath codeless programming (walkthrough) 2

December 30, 2008

Other parts: 1, 3. Bookmark that post Tested for SP2007 web forms, SP2010 list and library forms (note: the form has to be redesigned significiantly for list form because of different data fields structure). Updated: 5 more forms added at the bottom: “work days calculation (excluding weekends and holidays)”, “work days calculation in the list […]

Infopath codeless programming (walkthrough) 1

December 16, 2008

Posted under tags: Contact Selector Control Infopath Sharepoint