@carem the If() statement will sit in the Default property of each card, eg
I assume your DataCards default values look something like:
eg. DataCard.Default = ThisItem.'Child age'
Change it to:
DataCard.Default = If( !varHide, Blank(), ThisItem.'Child age')
If you are not yet aware, you need to unlock each datacard before you can change any of their properties.
Also, when I had a quick play with hiding datacards, when I hid an entire row/line the line below moved up. That's going to get a little messy to control - and don't ask me how to do it - please 🙂
Also, when I tested I used two variable, one for each line. I think that may work better?