Form template: Disable following rows if preceding row is empty in an InfoPath repeating table

This InfoPath video is a demonstration of how you can use conditional formatting to disable rows in a repeating table on an InfoPath form when a particular row has the focus and is empty thereby forcing users to sequentially enter data into the repeating table.

There are many solutions you can come up with for repeating tables in InfoPath that make use of conditional formatting to hide or disable rows.

Often times, to identify a specific row you want to hide or disable, you can make use of an XPath axis such as for example preceding, preceding-sibling, following, or following-sibling. You can learn how to work with these XPath axes from InfoPath 2013 Cookbook or InfoPath 2010 Cookbook.

The following InfoPath 2013 video tutorial demonstrates a form template that makes use of the preceding XPath axis in a Formatting rule to disable all of the rows that come after a specific empty row, thereby forcing users to sequentially enter data into rows of a repeating table.

The demo form template can be downloaded either from the InfoPath 2013 Cookbook Club or the InfoPath 2010 Cookbook Club.

See more InfoPath 2013 tutorial videos »


Related InfoPath Articles:


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. 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.

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