I want custom fields to only appear when they have a value

Hi,

I have a number of custom fields being displayed in a single-custompress.php file, and I want them to only appear when they have a file. Right now I have two text blocks for each custom field, one to display the title and one to display the value.

I want to only display the title when there is a value in the field.

Does that make sense?

Heres a sample of the code I'm using.

<?php //Named Title
                        echo do_shortcode('[ct id="ct_Subsidiari_textarea_b4d5" property="title"]'); ?>
                        <br />
                        <?php //Named value
                        echo do_shortcode('[ct id="ct_Subsidiari_textarea_b4d5" property="value"]'); ?