I am using WP 3.2.1, and Gravity Forms 1.5.3. No other plugins and currently using Theme "twenty eleven 1.2"
===========================
What I am doing seems to be pretty easy, but I may be missing something.
I created a GForm using the following POST Fields:
'Post Title
Post Body
Post Excerpt
Post Category
Custom Field'
The "Custom Field" in the Gravity Forms form has been named "File Upload", file type="FileUpload", Custom Field Name="file_attachment"
When users complete the form, their information is placed in the Post Drafts, including their PDF file, but when I publish this - everything BUT the Custom Field is displayed.
I went into the "single.php" file of twenty eleven 1.2 and added this piece of code:
[php]
<p><?php $customfield = get_post_custom_values("file_attachment");
if (isset($customField[0])) {
echo '<h3><a href="'.$customField[0].'" rel="nofollow">Download Now!</a></h3>';
} ?></p>
Nothing (in the Custom Fields) displays... What am I missing?