• You have to put an expression on the text box.  Go to Text Box properties, Visiblity, click on the fx button to the right of Show or hide based on an expression.
    To hide them on everything that is not PDF, use this expression:

    =Globals!RenderFormat.Name <> "PDF"