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.
See more InfoPath 2013 tutorial videos »
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.