Qazi Anis:Write conditional formatting on the repeating table not on the elements, that way you can hide the whole repeating table.
I'm not really sure what you're talking about here. There is no way to set conditional formatting on the table itself and not just the individual elements.
The workaround here is to place the table inside another (non-repeating) section and put the conditional formatting on that.