@floflo91 thanks, i thought so too and had quite a few similar tries yesterday, but it seems it doesn’t want to pick up the if( have_rows(‘flexible’) ):
added the custom fields export/template.php i’m using with your example.
The logic is there, it just doesn’t pick it up :/