In InfoPath you cannot conditionally show / hide (or otherwise programmatically affect) certain rows / columns / cells in a standard table. Itβs best to just show / hide the fields themselves that are inside the line.
If you have other text or borders and formatting that you want to hide, you can come closer by dividing the table up and placing this row in your section, which can be hidden using conditional formatting.
source
share