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.

Create post with fields that appear on page

  1. Can you please tell me if it's possible to create a form (to be a WP post once submitted) that has certain fields/checkboxes/drop downs which will actually show in the post?

    For example, i want to create a form with these fields:

    Film Title: (text input)
    Year: (drop down with list of years)
    Genre: (drop down with list of genres)

    Main Review: (paragraph text)

    DVD Details (paragraph text)

    Conclusion: (paragraph text)

    As you can see, there are "sections" to the body. I would actually like the created post to display the values. Ex:

    Film Title: Cloud Atlas
    Year: 2012
    Genre: Sci-Fi/Fantasy

    Main Review:
    An exploration of how the actions of individual lives impact one another in the past, present and future, as one soul is shaped from a killer into a hero, and an act of kindness ripples across centuries to inspire a revolution.

    DVD Details:
    Cloud Atlas will be released on DVD in January 2013.

    Conclusion:
    This movie requires the viewer to play close attention and follow the lives of many people throughout history.

    So essentially, the form fields actually create sections of the post. Is this possible with GF?

    Posted 11 years ago on Saturday October 27, 2012 | Permalink
  2. This is definitely an important feature for us so I hope there's a way to do it!

    Posted 11 years ago on Sunday October 28, 2012 | Permalink
  3. This is built in to Gravity Forms. You can use the Post Fields to capture the Title and Body of the post. Then, also in the Post Fields section, you can use Custom Fields to capture the rest. Once you are capturing all the required information into the entry, you can use the Content Template of the post body. By default, the post body will contain only the information which was submitted in the post body field of your form. However, by using the content template, you can add all those custom fields to the post body, wrapped in your own custom HTML.

    Build your form using Post Fields, saving everything but the Title and Body into custom fields, then go back and create a content template by checking the "Create content template" box on the post body field, then adding your custom fields using the merge tag drop down.

    Give it a try and let us know how far you get. Thank you.

    Posted 11 years ago on Monday October 29, 2012 | Permalink
  4. Okay! For the most part, I've got it working the way I want. There are a few other features I may need but I can probably figure out a workaround for those.

    Thanks! :)

    Posted 11 years ago on Monday October 29, 2012 | Permalink
  5. Is there a way to have the "Film Title" field populate in the Post title?

    For instance, if the form is called "Film Review" and the data from the Film Title field is Cloud Atlas (2012), then the created post title would be Film Review: Cloud Atlas (2012)

    Can anyone let me know if this is possible?

    Posted 11 years ago on Monday October 29, 2012 | Permalink
  6. N/M figured it out! :)

    Posted 11 years ago on Monday October 29, 2012 | Permalink
  7. I don't suppose there's a way to insert a photo upload prompt and set the photo to display in one of the post paragraphs?

    Posted 11 years ago on Tuesday October 30, 2012 | Permalink
  8. You can allow the visitor to upload an image or a photo. Just add an image upload field from the Post Fields section. That will allow the image to be updated and attached to the post. Now, do you want to insert it always in the same place in the post, or will that position be variable, and how would you know where to put it in every case?

    Posted 11 years ago on Wednesday October 31, 2012 | Permalink
  9. I confess that I am still very confused by how to get the Form to populate a Post. It would be great to see some more detailed Documentation for this, since it's kind of complicated.

    You write "Build your form using Post Fields" but I have a form that has radio buttons and html fields and conditional logic. None of that exists in the Post Fields. I am in the same boat as VSC in terms of his variety of fields.

    Now that I have my form created, I specifically cannot figure out how to do this that you write "You can use the Post Fields to capture the Title and Body of the post. Then, also in the Post Fields section, you can use Custom Fields to capture the rest." I tried to watch a video but it was so much hopping around from screen to screen that I could not follow it.

    My site is not live, but I have a dummy quiz here:
    http://173.247.253.72/~wiawh321/test-gravity-forms-quiz/

    It's like a Quiz, but it's really just educational information, so there is no score, but I want to echo back the results to the user at the end. I pretty much need to echo back all of the answers the user chose, and I hope that in the custom post template I can also add "boilerplate" text for more educational information.
    I would love some resources/examples for the Post feature.

    Carol

    Posted 11 years ago on Tuesday November 6, 2012 | Permalink
  10. OK, a bit of progress made in a duplicate Form I have not published yet. I will describe below because when someone asks a Forum question and then says later "i figured it out", with no explanation, then it's not too helpful for forum searchers. :-)

    I added a new Post Field of type Title at the top of the quiz and asked the user to enter their name or nickname. So that will be the generated post title (though I rather it said something like "Custom Quiz Results for <title>". I don't really want to ask that, but it allows a unique Post Title other than the name of the quiz.

    I added a Post Field of type Body. I clicked "Create Content Template" and put in some merge fields. What seemed odd is that both the question name and the possible answers were in the list, and I had to chose the question name in order for it to echo back all the answers (like from a multi select).

    I also turned Visibility to Admin Only under Advanced. That finally made sense... it was not clear until now that Post Field can be hidden fields that do some action and are not actually ever entered or seen by the form user.

    What remains, and may not even be possible, is to allow the user to see the new Post so they can see their quiz "results" along with the boilerplate educational information. Now I shall see if the Confirmation can redirect to the Post.

    So my one suggestion for usability in the future is to maybe just have a Post Field called "Form Results" that is always hidden and is clearly set up to be where you build out the way you want the form results to appear, whether on a Post, or a Page, or emailed to the user. Having this odd Post Body field be optionally either stuff the user enters or stuff the Admin sets up is kind of making that item do double duty and creating some confusion.

    Posted 11 years ago on Tuesday November 6, 2012 | Permalink
  11. GE
    Member

    Is there a way to have the "Film Title" field populate in the Post title?

    For instance, if the form is called "Film Review" and the data from the Film Title field is Cloud Atlas (2012), then the created post title would be Film Review: Cloud Atlas (2012)

    Can anyone let me know if this is possible?

    N/M figured it out! :)

    Mind sharing how? Anyone?

    Because I'm totally new to this plugin, I've chewed up an hour just trying to figure out how to add the field label of the merged fields to the custom template.

    Thanks, in advance.

    Posted 10 years ago on Saturday April 27, 2013 | Permalink