Count persons selected in a people picker in a repeating table

Learn how you can use the count() function to count the amount of people that were selected from a person / group picker control that is located in a repeating table control on an InfoPath form.

The same way you would go about counting the amount of persons selected in one people picker control, you can go about counting the amount of persons selected in multiple people pickers that are located in a repeating table on an InfoPath form.

I've previously published a video tutorial on how to add a people picker control to a repeating table control. So if you do not know how to do that, you can refer to that video.

The following InfoPath 2013 video tutorial shows you how you can use the count() function to return the amount of persons that were selected in multiple person / group picker controls that are located in a repeating table control. In addition, it shows you how to avoid getting an incorrect amount by applying a correction.

In this InfoPath 2013 tutorial video, you learned...

  • How to set the Default Value of a field.
  • How to use the count() function in a formula to count the amount of persons selected in a people picker control that is located in a repeating table control.
  • How to remove the default empty person from a people picker control.

See more InfoPath 2013 tutorial videos »

 
 Subscribe for updates via RSS or Email

Copyright: This article may not be used on web sites (whether personal or otherwise), copied, disseminated, altered, printed, published, broadcasted, or reproduced in any way without an expressed written consent of S.Y.M. Wong-A-Ton. The techniques demonstrated in this article may be used within any Microsoft InfoPath project. This article is provided without any warranties. Copyright for this article is non-transferrable and remains with the author, S.Y.M. Wong-A-Ton.

InfoPath 2013 Cookbook: 121 Codeless Recipes for Beginners
InfoPath 2013 Cookbook 2: 121 Codeless Recipes for SharePoint 2013
InfoPath 2010 Cookbook: 101 Codeless Recipes for Beginners
InfoPath 2010 Cookbook 2: 101 Codeless Recipes for SharePoint 2010
InfoPath 2010 Cookbook 3: 101 Code Recipes for C# Developers
InfoPath 2010 Cookbook 5: Integrating InfoPath with Excel and Excel Services


Related InfoPath Articles:

InfoPath 2013 Cookbook: 121 Codeless Recipes for Beginners

InfoPath 2013 Cookbook 2: 121 Codeless Recipes for SharePoint 2013

InfoPath 2010 Cookbook: 101 Codeless Recipes for Beginners

InfoPath 2010 Cookbook 2: 101 Codeless Recipes for SharePoint 2010

InfoPath 2010 Cookbook 3: 101 Code Recipes for C# Developers

InfoPath 2010 Cookbook 4: 101 Code Recipes for VB Developers

InfoPath 2010 Cookbook 5: Integrating InfoPath with Excel and Excel Services