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 »
Related InfoPath Articles:
- Repeating Tables and Sections in InfoPath
- InfoPath 2010 running total sum in repeating table
- InfoPath repeating table validation check for duplicate records
- Multi-select list box to show/hide columns in horizontal repeating table
- InfoPath functions with examples
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.