I would do it like this
-
it is possible to add CSS class in easyform, the same was as it is with all XML schema content types (see link below).
-
Set ID (or a class) on the 'master' to for example 'trigger1'
-
Set class on the 'children' you want to be triggered to 'trigger1'
-
Make a js that finds the id or class of the master and then hides children that does not have this class
NOTE: I have looked, but not found any way to set 'data stuff' in xml ( Setting pat-stuff in xml )