PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

All Fields Are Not Posting to Category

  1. I created a form that I would like the submitted data to be posted to a category. The input fields include a Title and Body and additional fields for name, email, image upload, and website address. When someone completes the form and clicks the submit button, we're provided with all of the information and uploaded image in our email notification. However, in the category post, the only information that is posted is the Title and Body of the submission. All other fields are not posted. I also don't see the uploaded image in the category area, it only appears in our email notification.

    I would like all of the information submitted to be posted onto our category.

    Please let me know if I'm missing something.

    John

    Posted 13 years ago on Monday April 4, 2011 | Permalink
  2. Gravity Forms doesn't post to a Category, it creates WordPress Posts that are independent of WordPress Categories.

    The only fields that create Post data are the Post Fields. So if you are using non-Post Fields (Standard, Advanced, Pricing Fields) these do not create Post related data. Only Post Fields create post related data.

    If you are using the Post Image field, this doesn't automatically insert the image into your post. It only uploads the image to the Media Library and then attaches it to that Post so that it is associated with it.

    Just like when you upload an image in the post editor, it doesn't automatically insert that image into your post. You have to tell it to insert it into the post, and where.

    To insert a Post Image into your post you have to use the Content Template feature of the Post Body field to configure your Post Body just like you would if you were using the Edit Post area of WordPress. Any HTML, etc. you enter in the Content Template is what is used to create your Post Body. You can use the Insert Form Field drop down to insert form field values, including the Post Image field, which also allows you to select which image size and positioning.

    So you need to make sure you are indeed using Post Fields for all the other data that you want to create with the post.

    Posted 13 years ago on Monday April 4, 2011 | Permalink
  3. ryanchapa
    Member

    so to confirm: whenever a user posts an image the admin always has to later come in and manually insert it in the users post? So if i get 20 pics posted a day the admin would have to manually insert the 20 pictures for each post individually?

    Posted 13 years ago on Thursday April 14, 2011 | Permalink
  4. No, you can configure the Content Template for the Post Body field so that it outputs the value of those Post Image fields if they exist. The Content Template lets you insert form field values into the Post Body.

    Just like if you were to create a post in WordPress, images aren't going to automatically show up in your post if you upload them. You have to insert them into the post body content. This is what the Content Template allows you to do is insert HTML and form field values in your Post Body.

    An alternative is to use the [gallery] tag if you anticipate a lot of photos. The gallery shortcode will output all the images for that post. You would add the gallery shortcode to the Content Template for that Post Body field.

    Posted 13 years ago on Thursday April 14, 2011 | Permalink