Use Gravity Forms to Create User-Submitted Posts (2024)

/Updated January 23, 2024 /432 Comments

A guide to using Gravity Forms “Post Fields” to create a form which generates a WordPress post when it is submitted.

Use Gravity Forms to Create User-Submitted Posts (2)

The concept is pretty simple. Using Gravity Forms “Post Fields” you can create a form which generates a post when it is submitted. All you have to do is add the desired post fields to your form. When the form is submitted, Gravity Forms will check if any post fields exist on the form and if so, generate a fresh new post based on those post fields!

Before we get too much further into this, I’d really recommend checking out the basic Gravity Forms post creation demo. If you’re new to Gravity Forms this will give you a better idea of what to expect and some context for the rest of this tutorial.

Gravity Forms Post Features

This tutorial will cover each Post Field and some of the cool features each field has to offer. Here is a quick list of post-related functionality Gravity Forms can handle right out of the box:

  1. Set the Post Title
  2. Set the Post Body/Content
  3. Set the Post Excerpt
  4. Set the Post Category (GF v1.6.3 adds support for setting multiple categories!)
  5. Set Post Tags
  6. Upload Images to the Post Gallery
  7. Set the Featured Image (aka, “Post Thumbnail”)
  8. Create custom fields for the post
  9. Set the default Post Status (“Draft”, “Pending Review” or “Published”)
  10. Set the default Post Author
  11. Set the default Post Format (ie “Standard”, “Link”, “Gallery”, “Quote”, etc)

Not bad, huh? You can use this list to get more information on features that interest you OR if your thirst for Gravity Forms knowledge is simply unquenchable, I suggest reading from top to bottom.

One thing Gravity Forms does not currently support with Post fields is creating custom post types; however, support for this is built into the Advanced Post Creation Add-On.

1. Setting the Post Title

Use Gravity Forms to Create User-Submitted Posts (3)Adding a Post Title field to your form will allow the user submitting the form to specify the title of the post. The Post Title field is also where you will manage the default Post Status, Post Author and Post Format of the created post. We’ll go into each of those in more detail later.

It is important to note that you can actually set the default Post Status, Post Author, Post Format from the Post Body and Post Excerpt fields as well. Be aware that these settings are all “linked” and changing one setting (the Post Status, for example) on one field will update the setting on all fields. Think of them as “form settings” managed on a field level.

One of the really neat features of the Post Title field is the ability to specify a “content template”. Enabling this option will allow you to use merge tags to populate the title with dynamic values. When might you want to do this? How about if you have a Post Category field on your form. When submitted, you want to append that selected category name before the submitted post title. Here’s how that might look:

Use Gravity Forms to Create User-Submitted Posts (4)

2. Setting the Post Body/Content

Use Gravity Forms to Create User-Submitted Posts (5)Adding a Post Body field to your form will allow the user submitting the form to specify the content of the post. Like the Post Title field, this field also provides options for managing the default Post Status, Post Author and Post Format of the created post.

Also like the Post Title field, the Post Body field provides the option to create a content template. It is with the Post Body field that the content template can really shine! The most obvious (and arguably the most useful) benefit is being able to insert submitted Post Images along side the submitted post content. I’ve implemented this functionality in the demo here. Here is the actual configuration I’m using to achieve the effect:

Use Gravity Forms to Create User-Submitted Posts (6)

You’ll notice I’m using a pretty fancy merge tag to display the medium sized featured image to the right of the post content. Don’t worry! You don’t have to learn all that merge tag syntax. When you select a Post Image field from the merge tag drop down, a new drop down will appear with a full list of size and alignment options!

Use Gravity Forms to Create User-Submitted Posts (7)

3. Setting the Post Excerpt

Use Gravity Forms to Create User-Submitted Posts (8)Adding a Post Excerpt field to your form will allow the user submitting the form to specify the excerpt content. Like the Post Title and Post Body fields, you will be able to specify the Post Status and Post Author from this field.

4. Setting the Post Category

Use Gravity Forms to Create User-Submitted Posts (9)Adding a Post Category field to your form will allow the user submitting the form to specify which category their post should be filed in. The Post Category field not only allows you to specify which categories should be available in the field, it also provides an option to display the field as one of the following field types: Drop Down, Checkboxes, Radio Buttons, and Multi Select. Selecting “Checkboxes” or “Multi Select” will allow users to select multiple categories to file their post in! This is relatively new functionality available in GF v1.6.3.

Use Gravity Forms to Create User-Submitted Posts (10)

Feel free to add multiple Post Category fields on the same form. Categories from different Post Category fields will be consolidated and applied when the post is created.

5. Setting the Post Tags

Use Gravity Forms to Create User-Submitted Posts (11)Adding a Post Tags field to your form will allow the user submitting the form to specify how their post should be tagged. Tagging is a good way to specify organizable key words and subjects that the post relates to. The Post Tags field provides the option to specify which field type the field should display as. Available field types are: Single Line Text, Drop Down, Multi Select, Checkboxes, and Radio Buttons. If using the “Single Line Text” field type, note that the expected format is a comma-delimited list of tags.

6. Uploading Images to the Post Gallery

Use Gravity Forms to Create User-Submitted Posts (12)Adding a Post Image field to your form will allow the user submitting the form to upload an image to the post gallery. You can include uploaded Post Images in the post content using the “content template” functionality. See the Post Body section above for more details.

The Post Image field also provides options for collecting image meta data. Checking any of the image meta data options will add an additional input to the Post Image field which can be filled in by the submitting user. This data is then stored with the Post Image.

7. Setting the Featured Image

Use Gravity Forms to Create User-Submitted Posts (13)You can specify a particular Post Image field to also be set as the Featured Image (aka Post Thumbnail) of the created post. Just select the “Set as Featured Image” option and Gravity Forms will work it’s magic when the post is created.

Use Gravity Forms to Create User-Submitted Posts (14)

8. Creating Custom Fields

Use Gravity Forms to Create User-Submitted Posts (15)Adding a Post Custom Field will allow the user submitting the form to enter a value which will be stored in a custom field as part of the created post. Custom fields are a simple way to bind related data to a post. Here’s a real example of how the settings might be configured:

Use Gravity Forms to Create User-Submitted Posts (16)

With the above configuration in mind, imagine that you’re accepting user-submitted events for a blog about your night life. The data and time of the event will be pretty important. Custom fields to the rescue! With Gravity Forms’ Post Custom Field, you can specify a custom field to which the field value (in this case, the date of the event) should be mapped.

The Post Custom Field can use a variety of different field types including all Standard Field types and most Advanced Field types. This flexible field will allow you to capture a wide range of values include regular text, dates, times, phone numbers, URLs, files and more!

It is important to note that Gravity Forms does not handle displaying the custom field data (unless you’re using a content template!); however, there are plenty of tutorials available for modifying what content is displayed with your posts including displaying custom fields! For more information, see the Custom Fields documentation on WordPress.org.

9. Setting the Default Post Status

You can specify the default Post Status from the Post Title, Post Body and Post Excerpt fields. The available options are “Draft”, “Pending Review” or “Published”. A “draft” is a post that is not yet ready to be published. A post which is “Pending Review” is ready to be published pending a review by an administrator. A “published” post is live and viewable by visitors on your website.

Gravity Forms may not support it out of the box, but it’s actually quite easy to set the post status by a user-submitted field value. Here are two handy resources that demonstrate how!

  1. Set Post Status by Field Value
  2. Set Post Status by Field Value (Advanced)

10. Setting the Post Author

Like the Post Status, the default Post Author can be set from the Post Title, Post Body and Post Excerpt fields. You must select a user from the “Default Post Author” drop down; however, if you wish to assign the post author based on the logged in user submitting the form, just check the “User logged in user as author” option. Bare in mind, this option will only work if the user is logged in when submitting the form. Otherwise, the post author will default to the user selected in the drop down.

11. Set the Default Post Format

If you’re running a theme that supports Post Formats or if you’re using implementing them on your own theme, you’ll be happy to hear that Gravity Forms provides support for Post Formats out of the box. The Post Format can be specified on the Post Title and Post Body fields. All standard WordPress Post Formats are supported.

If you’d like some more information on post formats, I’d recommend checking out this walk-through.

If your users are creating lengthy submissions they may appreciate having submissions automatically saved and automatically loaded when they return — without having to click or email the form progress. Gravity Forms Advanced Save and Continue handles saving and reloading whether users are logged in or not and allows for users to manage multiple drafts from one place.

Summary

That’s a fairly exhaustive overview of the post creation functionality. As you can see, Gravity Forms post creation functionality is very flexible and super powerful! If you have any questions, please share them with us in the comments.

Did this resource help you do something awesome with Gravity Forms?

Then you'll absolutely love Gravity Perks; a suite of 47+ essential add-ons for Gravity Forms with support you can count on.

  1. Use Gravity Forms to Create User-Submitted Posts (17)

    Art RothafelJanuary 18, 2024 at 8:14 am

    Will this same procedure work when trying to create a PAGE instead of a POST? I have ACP add-on . It creates a new page but does not display the form entries.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (18)

      Scott RyerStaffJanuary 18, 2024 at 12:26 pm

      Hi Art,

      Gravity Forms Post Fields can only be used to create new posts. It doesn’t support other post types, such as Pages. The APC add-on would be the way to go here. If you are having issues using it, I suggest reaching out to Gravity Forms Support.

  2. Use Gravity Forms to Create User-Submitted Posts (19)

    Mariusz dziewulskiJanuary 10, 2024 at 8:59 am

    hi. i would like to alter or hide the meta data for posts but i don’t see any way of doing it. you’ll probably tell me that i need the APC add-on but maybe there’s a way to hack to code?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (20)

      Scott RyerStaffJanuary 10, 2024 at 1:58 pm

      Hi Mariusz,

      When you say “hide”, do you mean hide the values from the {all_fields} output? Custom Fields can already be hidden in Gravity Forms, so I presume you’re referring to the output after submission. If so, this snippet is what you’re looking for. It will hide any fields whose visibility is set to Hidden from the {all_fields} output.

  3. Use Gravity Forms to Create User-Submitted Posts (21)

    J A McRaeDecember 6, 2023 at 9:10 am

    Can anyone point me to where to learn how to tell Gravity Forms to create these posts in Blocks instead of Classic? Its a difficult thing to google – i only get results that tell how to use the Gravity Forms block…. not creating posts formatted IN blocks.

    Reply

  4. Use Gravity Forms to Create User-Submitted Posts (23)

    Jean-LucOctober 25, 2023 at 3:37 am

    Hi GW team

    Nice Add-on, is it possible to populate some repeater field into a post in a CPT, using this Gravity Forms Advanced Post Creation Add-On?

    Thanks

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (26)

      Samuel BassahStaffMarch 3, 2023 at 11:27 am

      Hi Abby,

      The solution in this article doesn’t use any of our Perks. It’s possible with the Gravity Forms Post fields.

      Best,

  5. Use Gravity Forms to Create User-Submitted Posts (27)

    WP GuyMay 3, 2022 at 5:23 am

    Is it possible to have different fields like in an email form and then allow the data to be sent creating a pending post with the data in the order I like? I want people to be able to send me data and then I check/accept the posts but not just from one big content box like WP Forms.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (28)

      Samuel BassahStaffMay 3, 2022 at 8:17 am

      Hi,

      I’m guessing you could use custom fields for the different fields you want to accept data from the user and then map those custom fields to custom fields within the post. You can then use these custom fields to create the Post and output them.

      I hope this helps.

      Best,

  6. Use Gravity Forms to Create User-Submitted Posts (29)

    JDOctober 7, 2021 at 1:11 pm

    Hi – Thanks for this tutorial. I have a couple questions…

    1- Can multiple Gravity Forms fields get added to the body of the post in an ordered way? Example:GF field: video URLGF field: A description about the video.

    Post body:Line 1 video URLLine 2 A description …

    2- Can you host Gravity Forms on one site and still have it create posts on another site?Maybe via email > post or Json or RSS?

    Thanks

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (30)

      Dario SpaceOctober 7, 2021 at 1:43 pm

      Hi Julie,

      We already followed up on this via email, but I wanted to post this in the comment thread so other customers could see it.

      Using merge tags on the Body you should be able to add multiple fields to the Advanced Post Creation Addon. About creating posts on another site, you should be able to do that using the Webhooks addon from Gravity Forms and the WordPress API. You would just need to authenticate your API request from Site A to the credentials on Site B.

      Best,

  7. Use Gravity Forms to Create User-Submitted Posts (31)

    Stephen DavisJuly 12, 2021 at 10:04 am

    I have set up my custom post using PODS, then created a form using Gravity Forms and Gravity Wiz. Unfortunately, when I view the post, it doesn’t show all of the fields, including the category.Also when I click on a category in the sidebar, it can’t find posts with that category even though I have posts for the category.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (32)

      Dario SpaceJuly 12, 2021 at 12:26 pm

      Hi Stephen,

      It should with PODS as long as Custom Post types created with the plugin are compatible with standard WordPress Custom Post Types. From your comment, no posts for the category seem to show even that you mention you’ve created posts.

      That could be related to PODS configuration.

      If you have an active Gravity Perks License, you can open a ticket with us via our support form, with your account email so that our developers can take a look into it.

      Cheers,

  8. Use Gravity Forms to Create User-Submitted Posts (33)

    Dan GreeneJune 24, 2021 at 3:02 pm

    Is this method in this post still valid or do you have to use the advanced post creation add on now. I’ve tried using the add on and the sanitizing it does won’t let me format the output the way I need it.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (34)

      Samuel BassahStaffJune 24, 2021 at 3:19 pm

      Hi Dan,

      The method in the tutorial is still valid, but the Advanced Post Creation add-on is the more preferred way to create Post since it offers more features. You may want to check out this Gravity Forms doc on how to control when the submitted values are sanitized or not.

      Best,

  9. Use Gravity Forms to Create User-Submitted Posts (35)

    Adam WarnerMay 22, 2021 at 6:22 pm

    Hi all. I’m using the Advanced Post Creation Add-on and when creating the Post Creation (feed) and merge fields are being displayed in the Post Body fine. However, I tried to add some simple HTML there and it’s not allowed.

    My goal was to style three single line text fields in the output and put each into a separate paragraph in order to have each on a separate line.

    Do you have any tips on how to style content template output? I used to be able to use HTML, but we the advent of this new Advanced Post Creation as an Add-on, I’m lost on how to do it.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (36)

      Samuel BassahStaffMay 24, 2021 at 8:53 am

      Hi Adam,

      Gravity forms sanitize, field values for security sake and I am not really sure if there is a way around this. I found this hook but it doesn’t really work as expected for Post Creation feeds. You may want to get in touch with Gravity Forms Support to see if they can assist with this.

      Best,

  10. Use Gravity Forms to Create User-Submitted Posts (37)

    EdFebruary 12, 2021 at 7:01 am

    The links to the demos apart from the top one all lead to 404 pages and when submitting a test post on the top one and it says now view your post here it also leads to a 404. Do these methods still work?

    Reply

  11. Use Gravity Forms to Create User-Submitted Posts (41)

    PatJanuary 16, 2021 at 7:47 pm

    Thanks for this. Delighted to find your site as I explore Gravity Forms’ possibilities.

    One small question: does GF allow visitors to format text (bold, italic, etc) before submitting? I’ve looked at a few YouTube videos etc and none show what I’d have thought was an essential feature for certain kinds of text at least.

    Many thanks again. Stay safe!

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (42)

      Samuel BassahStaffJanuary 18, 2021 at 7:29 am

      Hi Pat,

      You can enable the option to use the Rich Text Editor under the Advanced Tab of the Post Body field to allow users to format text.

      Best,

  12. Use Gravity Forms to Create User-Submitted Posts (43)

    DanielDecember 23, 2020 at 9:48 am

    Question. Im using advanced post creation to create a custom post type when submitting a form. At the same time im redirection user to a second form where users can add more info if the want. Is it possible to update the post thats created on the first submission when the submit this second form?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (44)

      Samuel BassahStaffDecember 30, 2020 at 8:45 am

      Hi Daniel,

      Post Creation in Gravity Forms core doesn’t support updating existing posts. It will only create new ones. They have an outstanding feature request to add support for this in the Advanced Post Creation Add-On. As it stands right now, the only way to update an existing post with Gravity Forms is to custom code it into the gform_after_submission hook. They have an example of how to update a post after it has been created in the link below:

      https://docs.gravityforms.com/gform_after_submission/#1-update-post-after-its-creation

      You can adapt that to accomplish what you’re going for. Do note that you’ll also need to add some conditional logic to the APC feed so that it doesn’t create a new post when editing. I would imagine this will likely also need some custom code.

      If you need to hire a developer, we recommend Codeable.io.

      Best,

  13. Use Gravity Forms to Create User-Submitted Posts (45)

    BAKARE PAUL BERNARDOctober 27, 2020 at 9:25 am

    If a form is edited and updated using gravity view, will the post also be updated… This is very important

    Reply

  14. Use Gravity Forms to Create User-Submitted Posts (47)

    Ho ChanOctober 26, 2020 at 2:23 am

    Hello,

    May I ask what is the difference between Gravity Forms + Custom Post Types & Gravity Forms Advanced Post Creation Add-On?

    Thank you

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (48)

      Ryan DonovanOctober 26, 2020 at 10:33 am

      Hello, The https://wordpress.org/plugins/gravity-forms-custom-post-types/ plugin is something that we created but was ultimately surpassed by the full functionality of the Advanced Post Creation Add-On. We’re actually phasing out support for GF + CPT in favor of Gravity Forms’ Advanced Post Creation add-on (APC). The intent is to deprecate GF + CPT, which is why we advise our customers to use the Gravity Forms Advanced Post Creation Add-On. Have a great one!

  15. Use Gravity Forms to Create User-Submitted Posts (49)

    Cathy BurrAugust 14, 2020 at 4:45 am

    I’m more than happy to discover this site. I want to to thank you for yourtime for this particularly wonderful read!! I definitely enjoyed every bitof it and i also have you bookmarked to look at new things in your website.

    Reply

  16. Use Gravity Forms to Create User-Submitted Posts (50)

    Elida QokuJuly 14, 2020 at 5:07 pm

    Hello.I would like to say that I really like your writing and it was very helpful for me.However, i have a question that maybe is not related directly to this article, but i really hope you could help me.

    The situation is this: We are using Gravity Forms with Paypal Add-ons, and as we know, by default Gravity Forms performs application submission and then processes payments.My question is this: When an application form includes a payment option (via paypal) how can the application not be submitted if the user has not paid.

    Thank you in advance and take care

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (51)

      Ryan DonovanJuly 15, 2020 at 10:14 am

      Hello Elida, this is a great question. Gravity Forms actually has a hook that you can use to delay payments for feed-based add-ons. 😃

  17. Use Gravity Forms to Create User-Submitted Posts (52)

    WouterJune 28, 2020 at 2:31 am

    Hi David, thanks!

    Would it be possible to assign a post to multiple authors with this add-on? I would like to be able to assign a post from the form (frontend) to multiple autohors. The author list will be pre populated (from the user list).

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (53)

      Ryan DonovanJune 29, 2020 at 10:08 am

      Hello Wouter, this is an interesting question. We currently do not have a snippet that would allow for this to occur. You could use something like Gravity Forms Nested Forms to create a repeater field but at that point, you may be better off with an actual dedicated plugin.

  18. Use Gravity Forms to Create User-Submitted Posts (54)

    BenjaminJune 7, 2020 at 2:03 pm

    I have a custom post type. With ACF I have also created some custom field. Now when I go to the back end to create the CPT all the custom field will display properly in the CPT view.

    However when I use gravity forms to create a CPT all the custom field values will not display even though I configure GF to publish the post when I submit the form.

    The only way I could get the post to display the custom field is to go to the back end and press update. I would like to have all the custom field value show up when I submit the gravity form. Help is much appreciated.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (55)

      Ryan DonovanJune 8, 2020 at 10:02 am

      Hello Benjamin, It is important to note that Gravity Forms does not handle displaying the custom field data (unless you’re using a content template!); however, there are plenty of tutorials available for modifying what content is displayed with your posts including displaying custom fields! For more information, see the Custom Fields documentation on WordPress.org.

  19. Use Gravity Forms to Create User-Submitted Posts (56)

    Rob RoeJune 2, 2020 at 4:43 pm

    Gravity forms + custom post types is awesome but i have ran into an issue when deleting an entry from the front end it won’t delete the associated woocommerce product that was created. Do you happen to know how i can solve this issue?

    Gravity forms provides this code:add_action( ‘gform_delete_entry’, ‘delete_entry_post’ );function delete_entry_post( $entry_id ) {

    //getting entry object$entry = GFAPI::get_entry( $entry_id );//if entry is associated with a post, delete itif ( isset( $entry['post_id'] ) ) { wp_delete_post( $entry['post_id'] );}

    }

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (57)

      Ryan DonovanJune 3, 2020 at 11:28 am

      Hello Rob, are you currently only using Gravity forms + custom post types to create the WooCommerce product, or are you using another plugin/snippet? If you have a Gravity Perks License and would like to send over your form, you could contact us here to take a deeper dive. 😃

  20. Use Gravity Forms to Create User-Submitted Posts (58)

    Lee JohnsonMay 20, 2020 at 2:53 pm

    I have created a form and all my custom post fields are showing except When I or a user posts via the Form the post is not published all field. It shows that the status is published, but some data field are not shown. Not showing all field from article page.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (59)

      Ryan DonovanMay 20, 2020 at 3:01 pm

      Hello Lee, what kind of custom fields are you attempting to post? Let us know and we may have a solution.

  21. Use Gravity Forms to Create User-Submitted Posts (60)

    Prateek SahayMay 18, 2020 at 11:09 pm

    Hello, can i use a payment gateway before to allow user to pay at first and then can get access to edit their entered field.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (61)

      Ryan DonovanMay 19, 2020 at 9:42 am

      Hello Prateek, this would require a full-fledged membership plugin as you will need to be able to limit user-created content behind a paywall. This way you would allow users to register and create a post but if they wish to edit they would have to have a certain membership level.

  22. Use Gravity Forms to Create User-Submitted Posts (62)

    BartApril 19, 2020 at 5:43 pm

    HI

    Is it possible to use the nested forms perk to create repeater field input, that afterwards can be posted into an ACF repeater field via Advanced Post Creation?

    Bart

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (63)

      Ryan DonovanApril 20, 2020 at 12:14 pm

      Hello Bart, This is a great question. We have seen users in the past have success with doing just this. If you are a Gravity Perks License holder, you could reach out to our support and we would be more than happy to take a look at your form setup.

  23. Use Gravity Forms to Create User-Submitted Posts (64)

    BrookeApril 11, 2020 at 7:36 pm

    Hi, I think this is what I need to create some functionality on a site…I have a one page site with Gravity Forms installed.The idea is for a short input form (up to 160 characters of text) where a user will input their text, submit, and have a table below of the last 5-10 user submissions.

    Is there a way to have Gravity forms populate a table rather than creating a post for each? This could get difficult to manage with thousands of posts.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (65)

      Ryan DonovanApril 12, 2020 at 4:11 pm

      Hello Brooke, We sadly do not have a way to display the entries as tables. Something like this could be accomplished with a plugin like GravityView.😀

  24. Use Gravity Forms to Create User-Submitted Posts (66)

    Hundred Worries.ComMarch 10, 2020 at 5:35 pm

    Hi Katie, Thanks for the amazing step by step explanation. Is there any other forms I can use instead of Gravity Forms? I am in a trial phase and I don’t want to buy the licence at this stage before I create the exact thing I want.

    Reply

  25. Use Gravity Forms to Create User-Submitted Posts (68)

    JeffMarch 3, 2020 at 9:25 am

    This is great! Im using ACF though for custom post fields. Can I submit into these fields?

    Reply

  26. Use Gravity Forms to Create User-Submitted Posts (70)

    Winfried HanuschikFebruary 25, 2020 at 7:40 pm

    Thank you for this manual!But I read it too late…

    Now the posts are already created by submitting the form, but the content doesn´t make sense.So I want to refresh/recreate the posts with the correct merge tags.How could I do that?

    Kind regards for your help.Winfried

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (71)

      Ryan DonovanFebruary 26, 2020 at 9:28 am

      Hello Winfried, You could edit the current form that is submitting these posts with the correct merge tags. Posts that have already been created can be edited within your WordPress admin under posts and edit it that way. If you are wanting users to edit on the front end, we currently do not have a 1st-party solution though it is on the roadmap for the Advanced Post Creation add-on. The only 3rd-party solution I’m aware of may be out-of-date. Worth a try though: https://github.com/jupitercow/gravity-forms-post-updates.

  27. Use Gravity Forms to Create User-Submitted Posts (72)

    markoooolioDecember 9, 2019 at 5:09 am

    Is it possible to also allow users to edit their posts? Using same form but populating fields from existing post and then they could edit and save it?

    Reply

  28. Use Gravity Forms to Create User-Submitted Posts (74)

    ChrisOctober 22, 2019 at 4:07 pm

    Is it possible to update an existing post status if a form is submitted,Am looking for how to update a given post and change the status from published to private when a form is submitted.The concept is to hide the post once a form is submitted.And i will like to use the post url function already in gravity form to make any post that i embed the form into to be changed from published to private status.

    Reply

  29. Use Gravity Forms to Create User-Submitted Posts (75)

    KevinSeptember 21, 2019 at 7:09 pm

    Is it possible to include an uploaded file as a downloadable link in a post? We’re looking for things other than images to be accessible via the posts.

    What about list field types? Are those able to be displayed?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (76)

      David SmithStaffSeptember 22, 2019 at 6:33 pm

      Hi Kevin, yes, Gravity Forms uses merge tags to allow you to include your form data in the Post Content via the Post Content Template (we go into more detail on this in the article above). The merge tag for File Upload fields will automatically include a link to the file. The merge tag for the List will output a table of the entered data.

  30. Use Gravity Forms to Create User-Submitted Posts (79)

    Todd JonesJuly 2, 2019 at 4:33 pm

    I’d really like a way to allow the user to have the choice to enter HTML formatted text or WYSIWYG – ie. the same way that classic wordpress post editor has the toggle between visual and text editors.

    I’ve been using TinyMCE Advanced and it makes a nice menu – but can’t figure out how to add HTML to the post body

    I’ve searched high and low but can’t figure it out. any ideas?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (80)

      David SmithStaffJuly 10, 2019 at 9:26 am

      The Post Body field has a setting to enable a Rich Text Editor on the Advanced tab. It won’t let the user toggle it though. It’s either on or off.

  31. Use Gravity Forms to Create User-Submitted Posts (81)

    KaiJune 21, 2019 at 3:27 am

    Hi,

    I can’t seem to find a working merge tag that provides a URL to the created post within the confirmation page. Is this a feature, or have I gone about this the wrong way?

    Thank you

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (82)

      RobertSeptember 26, 2019 at 7:44 pm

      I am also struggling with this. I would like to be able to access the post URLs for confirmation notifications etc but there doesn’t seem to be a way.

    2. Use Gravity Forms to Create User-Submitted Posts (84)

      RobertSeptember 26, 2019 at 9:57 pm

      David, thank you for your quick reply!

      I think my issue is different.

      I want either the created post permalink which i can merge in an email notification once it is submitted/created.

      Or alternatively to set a permalink using the entry ID for example so that i can merge that field next to the URL for the email notification to match the created permalink

  32. Use Gravity Forms to Create User-Submitted Posts (85)

    Mtn. Mike'sMay 24, 2019 at 12:44 am

    Would you need to add multiple Post Image fields in order to add more than one image to the gallery? It seems odd there wouldn’t be an option to upload multiple.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (86)

      Mtn. Mike'sMay 24, 2019 at 1:59 am

      Nevermind, I was able to do this with the Advanced Post Fields add-on. Thank you for your post.

  33. Use Gravity Forms to Create User-Submitted Posts (88)

    rizkaApril 23, 2019 at 4:49 am

    hellothanks…i have able to follow your tutorial above

    my question : how we able to display all products list were created current author inside the author front end ?so the author can view in front end (my account) all their products created

    thanks

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (89)

      David SmithStaffApril 23, 2019 at 7:43 am

      I’m not clear on your requirements. Do you want to display these posts in a Drop Down on a form? Or just a generic HTML list?

  34. Use Gravity Forms to Create User-Submitted Posts (90)

    MattApril 17, 2019 at 11:24 am

    This is a great tutorial, thank you. Do you know if it’s at all possible to have Post Fields do their thing earlier than the submit button? Perhaps with a manual button/link or ideally, trigger on the Save and Continue process?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (91)

      David SmithStaffApril 17, 2019 at 2:45 pm

      Hey Matt, I’m not aware of any solution for creating posts prior to submission of the form… one solution is to actually break your form up into multiple forms. The first form could create the post and you could direct the user to the second form on submission of the first.

  35. Use Gravity Forms to Create User-Submitted Posts (92)

    StuMarch 5, 2019 at 4:25 pm

    Hi David,

    This looks good, but I’m not clever enough to work out if it will work for me without extra functionality required? I run a small website, where I represent live cover bands that I put forward for gigs at weddings, pubs and clubs etc, and I get quite a few requests/submissions from new bands to be listed on the site, to see if I can get them some extra gigs.

    Will this allow me to make a data capture form, that would allow any new bands to input their details over say 10 or so various information fields including uploading mp3 demos and band photos, and then when they submit this form, it would auto-create a new band page on my site for them, which looked exactly the same layout – literally identical like a template of my current band webpages, as all the other current bands listed on the website? Or do I literally have to build each submission into a webpage manually? Fyi, I should note that my band webpages that we built in WordPress are actually ‘pages’ and not ‘posts’, so I guess this makes a difference, not being built as posts?

    Thank You,Stu

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (93)

      David SmithStaffMarch 5, 2019 at 6:07 pm

      Hi Stu, this sounds like a great start for this. Let’s say each band is a Post on your website. You could use Gravity Forms to collect all of the desired information and generate a post. The extra information could be stored in the post’s custom fields. It’ll take a little exploring but you can do it!

    2. Use Gravity Forms to Create User-Submitted Posts (94)

      StuMarch 6, 2019 at 12:03 am

      I’m pleased you have such faith in me David! But I have almost no programming skills. Would this require any, or is it literally just insert a few fields and I’m done? It would also need to have music category tags capability and some seo considered.. title tags etc. Also, the bands would be uploading photos, videos, and then all their contact detail stuff that would need to be auto databased for me.. Are you certain this is all possible with Gravity Forms, while looking exactly like my established website band pages? If so, I presume it will only work in the paid version?

    3. Use Gravity Forms to Create User-Submitted Posts (95)

      David SmithStaffMarch 6, 2019 at 9:45 am

      From the requirements you’ve shared, yes, this is all possible with Gravity Forms. I wish I could provide a full consultation but there just aren’t enough hours in the day. ?

      There is no unpaid version of Gravity Forms so I’d recommend picking up the Basic license and seeing how far you can get.

  36. How to Submit WordPress Posts from the Frontend | WPShoutNovember 6, 2018 at 12:26 pm

    […] Tutorial on Creating Posts with Gravity Forms. While Gravity Forms costs money (starting at $59 at the time I write this), it’s a popular plugin and most WordPress developers will already have a copy. Plus, this version will be relatively comfortable to customize for those who already use the Gravity interface. […]

    Reply

  37. Use Gravity Forms to Create User-Submitted Posts (98)

    GeoffNovember 3, 2018 at 10:28 pm

    Is it possible to get the post slug using a merge tag? Got a for, that is making a draft post, and want to save the slug of the post in the entry data.

    Reply

  38. Use Gravity Forms to Create User-Submitted Posts (100)

    JennSeptember 27, 2018 at 1:42 pm

    This is a great tutorial and I understand the concept – however I am wanting to publish all form submissions on ONE page – and not just a collection of posts that you can “go to next post, go to previous post”, etc. Can you think of any way to do that?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (101)

      David SmithStaffOctober 1, 2018 at 7:25 am

      If you’re publishing them as posts in a custom post type, you could use the archive of that post type to show all posts for that post type and use the WordPress templating system to modify how that archive page is displayed.

  39. Use Gravity Forms to Create User-Submitted Posts (102)

    GusAugust 28, 2018 at 5:11 pm

    I have a form that students use to create posts. I’ve been able to figure out how to use Merge Tags in the Content Template to produce the exact look I desire for these resulting posts – including both text and images. However, I also want to include videos. I want students to submit either a youtube link or even youtube embed code and have it be displayed in the post. I can’t get this to work. Any ideas?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (104)

      GusSeptember 19, 2018 at 11:18 am

      David,That isn’t what I’m referring to. My students do not have access to the wordpress admin side nor do I want them to have such access. They are merely filling our a Gravity form with post fields so that when they submit it automatically creates a post (just like this article talks about). I want one of those form fields to allow them to enter either a youtube link or youtube embed code and have it also appear in the post. Is there a way to do that?

  40. Use Gravity Forms to Create User-Submitted Posts (105)

    Jeff GipsonAugust 24, 2018 at 10:26 am

    I’m trying to use your CPT plugin but not all the meta fields show in the drop down. Any ideas?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (106)

      David SmithStaffAugust 24, 2018 at 10:59 am

      That sounds like an issue with Gravity Forms’ Custom Field field type. The CPT plugin does not affect this.

    2. Use Gravity Forms to Create User-Submitted Posts (107)

      Matt WhiteleyAugust 29, 2018 at 11:41 am

      Make sure you actually save some meta in the fields. I’ve noticed the fields don’t show until you actually save some content in them (assuming you are talking about the dropdown withing Gravity Forms). They may not be created and added to the DB until you actually use them.

  41. Use Gravity Forms to Create User-Submitted Posts (108)

    JonAugust 22, 2018 at 10:48 am

    Option to always set a “default” category for posts submitted with this? And then still allow the user to choose an additional category from the dropdown?

    Reply

  42. Use Gravity Forms to Create User-Submitted Posts (110)

    DanJune 14, 2018 at 2:32 am

    Hello

    Can this integrate with gravity flow approval step? So that I can only allow post creation once I check it out?Thanks!

    Reply

  43. Gravity Forms Tutorial: Display User-Submitted Information in a TableJune 1, 2018 at 1:33 pm

    […] Wiz have an excellent tutorial about how to save Gravity Forms submissions as posts. Do this, then come back to learn how to […]

    Reply

  44. Use Gravity Forms to Create User-Submitted Posts (114)

    Terry LaiApril 15, 2018 at 7:51 am

    Hi there, since the form is sending the input to a new post, does it also saves the data to the GF database/entry lisitng as well? Thanks.

    Reply

  45. Use Gravity Forms to Create User-Submitted Posts (116)

    Antonio SpampinatoFebruary 28, 2018 at 4:31 am

    Hi, thanks for your work! (I use a tons of your snippets)

    I’m trying to use Gravity Forms to add Woocommerce products from frontend. Thanks to your GF + Custom post type I can insert several fields with the exception of two: attributes and upload files. To try to capture this data (attributes and files) I used in the gravity forms field:1) Attributes: Post Field/Custom Field/Multiselect or Drop Down with Custom field name (new) pa_my-attribute-name2) Files name: Post Field/Custom Field/Single line text with Custom field name (new) _wc_file_names3) File upload: Post Field/Custom Field/File Upload with Custom field name (new) _wc_file_urls

    where am I wrong?

    ThanksAntonio

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (117)

      David SmithStaffMarch 6, 2018 at 5:32 pm

      I’m guessing that the data format of the value in GF does not match the expected format by WC for those custom fields. You would first need to know which data format is expected and then use a filter like gform_post_data to format the GF data in the expected format.

  46. Use Gravity Forms to Create User-Submitted Posts (118)

    HassanFebruary 23, 2018 at 4:55 am

    Hi

    Thank you for this great tutorial.

    Where about on frontend the post will be posted ? And can we use a different page to display the posts, I dont want the posts to be display where the form is ?

    I look forward to hearing from you.

    Many thanks

    Hassan

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (119)

      David SmithStaffMarch 6, 2018 at 5:36 pm

      Hi Hassan, Gravity Forms simply creates the post. You (or your theme) will handle where those posts are displayed.

  47. Create a WordPress Job Board with the Posts Table Pro PluginFebruary 6, 2018 at 5:26 am

    […] Forms have provided an excellent tutorial onUse Gravity Forms to Create User-Submitted Posts. This contains full instructions on how you can create a form with all the job board […]

    Reply

  48. Use Gravity Forms to Create User-Submitted Posts (120)

    FacemJanuary 16, 2018 at 9:59 am

    Hi,

    The plugin only get the posts category for the category field. I need him to create a custom post field and to register it in the categories I’ve created for the custom posts.

    How can I do that ?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (122)

      facemJanuary 22, 2018 at 4:04 am

      I’m using a custom post type plugin to create listings (classified and directory) and I want to create new listings with gravity forms using Gravity Forms + Custom Post Types.

      Unfortunatly, your plugin can’t detect the categories of the custom post types created for the listing, it only see the categories of the singles.

      upload images

      Here the “a, b, c, non classé” are categories from the single, I need to have the categories for the custom post types.

    2. Use Gravity Forms to Create User-Submitted Posts (123)

      David SmithStaffJanuary 23, 2018 at 7:28 am

      Hi Facem, it sounds like the “HOW TO LINK A FIELD TO A CUSTOM TAXONOMY” section on the plugin’s home page is what you’re trying to do.

  49. Use Gravity Forms to Create User-Submitted Posts (124)

    FacemwebJanuary 15, 2018 at 10:14 am

    Hi,

    I’d like to use your plugin to create custom posts. But I actually can’t use the category field. It only get the classic single categories, and not the one I’ve created for the custom post.

    Can U give me a solution ?

    Reply

  50. Use Gravity Forms to Create User-Submitted Posts (126)

    Bill BitautasJanuary 5, 2018 at 1:14 pm

    Here is what I would like to do: Have a form where users can submit text and images. Then when the form is submitted I receive it as a draft post and the images submitted are automatically placed in a gallery. Then I approve it and the post is published with the gallery of images. And it would be nice if it was available as a widget to be placed in a sidebar. Can WPForms do this? Thanks

    Reply

  51. Use Gravity Forms to Create User-Submitted Posts (129)

    Jacques JahnichenOctober 22, 2017 at 11:57 am

    Hello,

    I have follow all this post on my website and its working great, thank you.

    How can I use the same gravity form to allow user to edit/update the post in front end ? What is your advice about that.

    Thanks a lot

    Reply

  52. Use Gravity Forms to Create User-Submitted Posts (131)

    GeorgeOctober 10, 2017 at 1:27 pm

    Hi David,

    Is it possible to set automatically the post in a category, based on logical condition, after the post has been created?

    i.e. If user chooses an area inside USA, should be set in Category named “North America” (lets say I have already created). Or if the user chooses Austria, then the post should be set to Category named “Europe”, using conditional logic.

    Do you follow me ?? Is this possible?

    Thank you !

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (132)

      David SmithStaffOctober 28, 2017 at 9:21 am

      You can probably do this by including multiple Post Category fields on your form with a preselected value. Then you can conditionally show/hide the field based on which area is selected.

  53. Use Gravity Forms to Create User-Submitted Posts (133)

    NealJuly 5, 2017 at 4:16 am

    Hi,

    I am working on a website for a car fan club. On this website the users (so no guests), must be able to create an advert on what they are selling. So no actual selling or payment systems are needed.

    I would like to show their adverts in a specific post category. So in the end I will be able to show a page full of all the user made adverts.From the front-end form they must be able to add their own adverts, following a standard format of questions. I would like them to enter their names, contact details, price, title and so on. But besides I also want them to upload some pictures (of which the first is used automatically as featured image). And besides all the images must be shown as a gallery in the post.

    I would like the post to automatically format the specific information added. So I will for instance have a table on top first with the name and contact details. On a specific space with specific formatting the price etc.

    And in the end they must be able to edit and delete their advert.

    Is this possible with the plugin?

    Thanks in advance,

    Neal

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (134)

      David SmithStaffJuly 5, 2017 at 10:55 am

      Hi Neal, the short answer is yes, this is possible. You would certainly need to do a fair bit of configuring to get this working as described but Gravity Forms support should be able to provide any assistance you need along the way.

    1. Use Gravity Forms to Create User-Submitted Posts (138)

      David SmithStaffMay 18, 2017 at 6:33 am

      Hey Tanner, we don’t have any plans for this functionality right now. Gravity Forms has a new add-on coming out soon to add additionally support for creating posts. Something like this might be supported there.

  54. Use Gravity Forms to Create User-Submitted Posts (139)

    Bet HannonMarch 16, 2017 at 5:28 pm

    Is it possible with this snippet to have multiple posts created from a single form? I realize I would need all the correct fields, but if I have title1, body 1 and title 2, body 2, etc. in one form, can I have multiple posts created?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (140)

      David SmithStaffMarch 16, 2017 at 9:45 pm

      Hey Bet, this isn’t currently possible but it’ll be supported with Gravity Forms new Post Creation add-on.

  55. Use Gravity Forms to Create User-Submitted Posts (142)

    corporaticMarch 9, 2017 at 4:05 am

    Hi,

    Is it possible admins to create posts choosing a different post author?

    Thanks a lot

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (143)

      David SmithStaffMarch 9, 2017 at 6:29 am

      There is no post author field for frontend selection; however, they can specify a static post author via the field settings for the Post Title field.

  56. Use Gravity Forms to Create User-Submitted Posts (144)

    SunitMarch 9, 2017 at 2:26 am

    Hi David,

    Regarding the ‘Setting the Post Category’ bit – what if I want to populate Categories from a Custom Post Type and then restrict the options (say, show only 4 of 5 CPT categories)?

    GF+CPT plugin of yours lets me populate, but I can’t cheery pick the categories thereafter.

    Reply

  57. Use Gravity Forms to Create User-Submitted Posts (147)

    corporaticMarch 5, 2017 at 7:35 am

    Hi, thank your for this info.

    I need a way to get a AJAX FIELD for featured image. I have tried this plugin https://es.wordpress.org/plugins/ajax-upload-for-gravity-forms/ but it does not work with featured post images.

    So I had an idea… how can I hide the featured image field and autopopulate it with the value of an ajax field?

    If you can´t help me with this… I have another idea: How can I remove the featured image from any post when submitting a form? This way I can use a plugin to take the first image in content as featured image…

    Waiting on an answer, please, I have tried a lot of ideas with no luck.

    Thanks a milliion.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (148)

      David SmithStaffMarch 5, 2017 at 6:35 pm

      I’d recommend using the default file upload field and then setting the featured image via custom code after submission.

      See gform_after_create_post and this little bit for actually setting the feature image custom field:

      update_post_meta( $post_id, '_thumbnail_id', $attachment_id );

    1. Use Gravity Forms to Create User-Submitted Posts (151)

      alphaelfFebruary 20, 2017 at 6:02 am

      i just want check this ability for future needs.

      do you know about gravity forms lifecycle for this ability?it’s run some hook after add entry or what?

  58. Use Gravity Forms to Create User-Submitted Posts (152)

    GeorgeFebruary 13, 2017 at 6:05 pm

    Great tutorial!

    Is it possible to create multiple posts with a single form?(e.g. Publish 5 posts containing a single tag each from a single from with 5 fields.)

    Reply

  59. Use Gravity Forms to Create User-Submitted Posts (154)

    MikeFebruary 10, 2017 at 6:38 pm

    I can’t see the point in this. WordPress already allows the posting of articles. I obviously didn’t understand or it’s pointless.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (155)

      David SmithStaffFebruary 11, 2017 at 4:13 pm

      WordPress requires anyone who is creating posts to be a user and to be logged into the WordPress admin. With Gravity Forms, you can allow anyone to create a post from the frontend of your website. This is a powerful feature which allows non-WP-users to submit articles, events, whatever to your site. You can set the status to draft if you’d like so you can approve it before it is published. Check out the demo.

  60. How To Build A Travel Blog: A Behind The Browser Look at TravelisLife.orgJanuary 23, 2017 at 11:30 am

    […] the form and program it to automatically create posts from the user submitted content, I followed these directions provided by GravityWiz.com. Rather than re-write what I did here, just follow those instructions, […]

    Reply

  61. Use Gravity Forms to Create User-Submitted Posts (156)

    JJanuary 18, 2017 at 12:33 pm

    Pretty cool. Can this be a post submission for a community fee “wall” like Buddypress? Also, can it look more like a comment and not take up an entire page?

    Thanks!J

    Reply

  62. Use Gravity Forms to Create User-Submitted Posts (158)

    JohnJanuary 13, 2017 at 10:01 am

    Great article!

    Is it possible using Gravity Forms + Custom Posts to have an author submit a publish date that actually writes as the posts publish date on the backend?

    Reply

  63. Use Gravity Forms to Create User-Submitted Posts (160)

    SamOctober 31, 2016 at 12:45 am

    is there a way you can create a page through gravity forms and then send that dynamically generated URL page to the user through a notification e-mail?

    Reply

  64. Use Gravity Forms to Create User-Submitted Posts (162)

    MaelgaOctober 12, 2016 at 10:44 am

    Hi David,

    My users publish custom post types this way and it works perfectly.I’m now looking at adding ratings to the CPT submitted (5 star rating format).There would be typically 3 to 5 ratings on the form/post.Think of it as a review post (say mobile phones) where several features are rated (battery life, styles, display, etc.)

    It seems to be a real pain in the a** to add a 5 star rating.GF does not have this out-of-the-box. The closest would be to use a Rating field from the Survey add-on, but unfortunately, this rating field does not save values to a custom field or taxonomy that is associated with the post submitted.

    So I’m puzzled and feel that GF is really lacking 5-star rating out-of-the-box.Do you have any idea how this could be implemented?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (163)

      David SmithStaffOctober 13, 2016 at 3:14 pm

      Hi Maelga, there used to be a plugin on Code Canyon that offered this but it doesn’t appear to be for sale anymore. One solution would be to use a Radio Button field and apply this tutorial to convert it into a Star Rating field. This might be a good opportunity for Gravity Wiz to release a product but if so, it wouldn’t be for a while.

  65. Use Gravity Forms to Create User-Submitted Posts (164)

    Alejandro SaenzAugust 13, 2016 at 12:06 pm

    Awesome article! :D

    I have a doubt, Is possible to have a dropdown field populated with a custom taxonomy and save it as a custom field of a post type?

    In other words, we have a custom field called “Car Type” for instance, which it’s filled with the ID of a custom taxonomy term. It seems to be possible to create a dropdown populated with a taxonomy, but I can’t see the option to save it as a custom field.

    Is that possible, folks?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (165)

      David SmithStaffAugust 14, 2016 at 7:55 am

      Hi Alejandro, it is possible. Here’s a high level overview.

      1. Add a “Custom Field” field to your form (screenshot).
      2. Set the “Field Type” setting to “Drop Down” (screenshot).
      3. Set the “Custom Field Name” setting to whatever post custom field you wish to populate on the generated post (screenshot).
      4. Use custom code to populate this Drop Down Custom Field with your taxonomy terms. This tutorial demonstrates how to populate posts into a Drop Down. It’s the same concept, you’re just populating different data.

      That’s it. :)

  66. Use Gravity Forms to Create User-Submitted Posts (167)

    Pierre SaikaliAugust 11, 2016 at 4:09 am

    Thanks for this article !

    Is it possible to use the content template to set the post body content to {all_fields} (the table containing all form values generated by GF) ?

    Thanks for your help !

    Reply

  67. Use Gravity Forms to Create User-Submitted Posts (169)

    Niall FlynnJuly 13, 2016 at 8:53 pm

    Could you recommend anywhere to find conditionals if, else, etc trying to strip out elements as a form posts to a post type.

    Reply

  68. Use Gravity Forms to Create User-Submitted Posts (172)

    TpJuly 13, 2016 at 2:57 pm

    Hello,I follow this tutorial step by step, (I’ve created a form with gravity form, using create template, merge tag, chose a name….) . I am using the theme Divi.But I can’t make my custom post fields appearing in every new post… They are nowhere. What can be done? thanks a lot

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (173)

      David SmithStaffJuly 13, 2016 at 10:42 pm

      Hi TP, GF adds the custom meta to the post object; however, you still need to display that post meta on the post page. For help specific to Divi, I’d reach out to their support team.

    2. Use Gravity Forms to Create User-Submitted Posts (174)

      tpJuly 14, 2016 at 9:13 am

      Hello and thank you for your answer.what do you mean by “you still need to display that post meta on the post page” ??so what should be the procedure? thanks a lot

    3. Use Gravity Forms to Create User-Submitted Posts (175)

      David SmithStaffJuly 14, 2016 at 7:49 pm

      Hi TP, I’d reach out to your theme’s developer for assistance with this one.

  69. Use Gravity Forms to Create User-Submitted Posts (176)

    Niall FlynnJuly 13, 2016 at 11:53 am

    I am trying to do the following;

    {background-image: url(‘{Event Image:4:full:url}’)

    Is it possible to take the feature image as a raw URL only?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (177)

      Niall FlynnJuly 13, 2016 at 12:02 pm

      It does work :) I was trying it without the image size and getting the standard embed.

      {Event Image:4:full:url} works :)

  70. Use Gravity Forms to Create User-Submitted Posts (179)

    TpJune 30, 2016 at 9:33 am

    Thank you for your answer.But will this be only a post, or also a web page?I need a web page…Thanks

    Hello, I want to create a wordpress website that sells watches. But I want to create a structure of every new WordPress page, so that the administrator just has to complete it: I want to create fields like brand, price, sexe, location, and about 10 more details. And that when filling these fields, the new page will be created by the administrator and will be ready to be published as a page. Can this be done with gravity form easily? with no coding? Thanks

    ReplyDavid Smith saysJune 30, 2016 at 8:43 am

    Yes, you can use a Gravity Form to capture the desired data and use a Post Content template to display the data in the Post Body, all without code.

    Reply

  71. Use Gravity Forms to Create User-Submitted Posts (180)

    TpJune 28, 2016 at 1:31 pm

    Hello,I want to create a wordpress website that sells watches.But I want to create a structure of every new WordPress page, so that the administrator just has to complete it: I want to create fields like brand, price, sexe, location, and about 10 more details. And that when filling these fields, the new page will be created by the administrator and will be ready to be published as a page.Can this be done with gravity form easily? with no coding?Thanks

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (181)

      David SmithStaffJune 30, 2016 at 8:43 am

      Yes, you can use a Gravity Form to capture the desired data and use a Post Content template to display the data in the Post Body, all without code.

  72. Use Gravity Forms to Create User-Submitted Posts (182)

    Varun GuptaJune 22, 2016 at 7:49 am

    Hi,

    The plugin works flawlessly except when a user adds a title that contains say &. This gets saved in the database as &.

    I added the following function to the theme’s functions.php file, but when checked in the gravity forms logs, the post data before saving has got &. It still saves as & in the database.

    add_filter( ‘gform_post_data’, ‘sanitizetitles’, 10, 3 );function sanitizetitles( $post_data, $form, $entry ) {//only change post type on form id 3if ( $form[‘id’] != 3 ) {return $post_data;}GFCommon::log_debug( METHOD . ‘(): original post_data => ‘ . print_r( $post_data, true ) );$post_data[‘post_title’] = htmlspecialchars_decode( $post_data[‘post_title’] );GFCommon::log_debug( METHOD . ‘(): modified post_data => ‘ . print_r( $post_data, true ) );return $post_data;}

    Gravity support say that they cannot provide any help on this as the form sends the correct data as shown in the gf logs.

    Anyone else facing this problem?

    V

    Reply

  73. Use Gravity Forms to Create User-Submitted Posts (183)

    P.MaesJune 6, 2016 at 8:39 am

    The problem with this > Setting the Post Body/Content is that people cannot add links to the articles [html] so this is useless when you have articles with links in it

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (184)

      David SmithStaffJune 6, 2016 at 9:31 am

      Hi P.Maes, using the default Post Body field you can add links but you would need to write them out in full HTML. With GF2.0, the Post Body field will support a Rich Text Editor so you can add links with the click of a button.

    2. Use Gravity Forms to Create User-Submitted Posts (185)

      P.MaesJune 6, 2016 at 10:05 am

      Ehm. I’m not the brightest light as it comes to technical stuff but what you say is with the new GF2.0 people can copy paste articles from other websites incl HTML and redirect links into the body content field and this will automatically “converted” into WordPress?

    3. Use Gravity Forms to Create User-Submitted Posts (186)

      David SmithStaffJune 6, 2016 at 12:36 pm

      I’m just saying that both fields support HTML. The Rich Text Editor might be able to handle copying HTML-like text. I’d recommend giving it a try.

    4. Use Gravity Forms to Create User-Submitted Posts (188)

      paulJune 7, 2016 at 9:16 am

      Hi.

      Purchased the latest GF plugin.

      1. it’s version 1.9…not 2.0
      2. Does not support rich text editor…no settings found where to set this up

      Regards,

      Paul

    5. Use Gravity Forms to Create User-Submitted Posts (190)

      paulJune 7, 2016 at 11:36 am

      Thanks David. The problem is that i once had the developer version and downgraded to a personal licence. This personal licence is already running on my site and this is V.1.919. I’m afraid when downloading v2.0 and upload through ftp it will overwrite all my forms etc. So i need to wait for the official v2 launch and the easy update way

    6. Use Gravity Forms to Create User-Submitted Posts (191)

      David SmithStaffJune 7, 2016 at 11:52 am

      Deleting the files via FTP and replacing them with the latest version will not delete your forms. :)

    7. Use Gravity Forms to Create User-Submitted Posts (192)

      paulJune 7, 2016 at 12:11 pm

      Ok. Thanks David. I will make a backup of my forms and then upload V2 of GF. I will inform you when i’m done. Thanks again

    8. Use Gravity Forms to Create User-Submitted Posts (193)

      PaulJune 7, 2016 at 1:35 pm

      Great. Got V2 installed…..now i cannot select the rich editor box….it just won’t let me.

    9. Use Gravity Forms to Create User-Submitted Posts (194)

      David SmithStaffJune 7, 2016 at 2:28 pm

      If you’re working with an existing form, you’ll need to add a new field. Field’s with existing data will not be able to be converted to the RTE.

  74. Use Gravity Forms to Create User-Submitted Posts (198)

    MikeMay 22, 2016 at 6:15 pm

    I’m trying to create a subcontractor portal that allows logged-in subcontractors to submit bids on projects via the website. I want them to be able to view their own bids and make changes if they need to. I imagine I could potentially allow users to submit bids as posts, but is there a way that I can only allow certain roles (ie. Administrator) and the user that submitted it to view the post? I can’t allow other users of the same role or guests to view their posts.

    Reply

  75. Use Gravity Forms to Create User-Submitted Posts (200)

    Shaan NicolMay 20, 2016 at 11:39 am

    Hi David,

    You mention in 10. that setting the post author can only be done when the user is logged in. However I have a form that is both creating the user account as well as creating the post at the same time, so I need the new post to be assigned to the author, so they can login and edit it, for example.

    Would I need to auto login the user or could I run a cron or an update to change the post author after submission?

    Reply

  76. Use Gravity Forms to Create User-Submitted Posts (202)

    BradleyMay 17, 2016 at 3:17 pm

    Is it possible to save the post ID of the newly created post back in as a custom field so it can be passed through a gravity forms addon?

    We’re trying to pass the post ID into an entry in our Constant Contact list. We want to be able to email people back at a later time with a link to their post which we will accomplish using website.com/?p={postID}.

    Since there is no post ID at the time the form is viewed, we can’t enter that information into a field as a default value.

    I hope I was clear enough on what we’re trying to do. If not, please let me know.

    Thanks!/Bradley

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (203)

      David SmithStaffMay 18, 2016 at 9:03 am

      It really depends on when the Constant Contact add-on is sending the data off during the form submission processes and how it aggregates the data. I would ping the developers of that plugin as they’ll have a better idea of how to make it work on their end. :)

    1. Use Gravity Forms to Create User-Submitted Posts (206)

      AlexMay 8, 2016 at 8:30 pm

      And one more question David, is it free to use Gravity Forms in this way? Allowing non-registered users to submit text and multiple images that automatically create a draft post for me to edit and publish? Or will I need to upgrade to any paid features to do this?

    2. Use Gravity Forms to Create User-Submitted Posts (207)

      AlexMay 8, 2016 at 10:32 pm

      Oh I see now that Gravity Forms costs $39. Will I need to purchase any additional ad ons to create the User-Submitted Posts form with multiple photo uploads?

  77. Use Gravity Forms to Create User-Submitted Posts (209)

    CarlosApril 27, 2016 at 8:18 pm

    My website takes in user-submitted content which will eventually become posts on my website. One of the fields that are submitted on my site is a link to a picture.

    As of now, we are using the directory option to display all submitted content. Is there a way we can customize the field so that the image linked to the URL submitted is displayed.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (211)

      CarlosApril 27, 2016 at 8:26 pm

      Follow up:

      As of now, the links in single-entries are viewed like this using the directory method

      http://i.imgur.com/qNDdZIQ.jpg

      As you can see, all it is showing is a link to the picture. What I would like to happen is have something like this:

      so that the image is actually embedded into the single-entry view.

    2. Use Gravity Forms to Create User-Submitted Posts (212)

      CarlosApril 27, 2016 at 8:29 pm

      Sorry, it seemed like the code I posted wasn’t allowed:

      Instead of a hyper link showing I’d like for the image to be embedded such as this:

      *******

    3. Use Gravity Forms to Create User-Submitted Posts (213)

      CarlosApril 27, 2016 at 8:31 pm

      I’m sorry, I’m trying to post some html code you can see an example of what I want but it keeps getting scrubbed.

    4. Use Gravity Forms to Create User-Submitted Posts (214)

      David SmithStaffApril 27, 2016 at 10:28 pm

      Hi Carlos, I believe I understand what you are trying to do now. Unfortunately, I don’t have a solution for this currently. :/

    5. Use Gravity Forms to Create User-Submitted Posts (216)

      David SmithStaffApril 27, 2016 at 11:48 pm

      The gform_post_data hook is probably your best bet. You could parse the content for URLs and then handle fetching the actual image from the URL based on the website.

  78. Use Gravity Forms to Create User-Submitted Posts (217)

    suzanneMarch 23, 2016 at 12:07 pm

    is it possible to add multiple pictures for a blog and to let it show in a blog grid used in visual composer?I only see the featured images, but adding more post images won’t show the other pictures in the grid like a clickable slider, eventhough i didn’t turned on the checkbox.If it’s possible, how to?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (218)

      David SmithStaffMarch 25, 2016 at 11:45 am

      This is possible but may require some custom work. I’d reach out to the Visual Composer guys for more advice on integrating with their blog grid.

  79. Use Gravity Forms to Create User-Submitted Posts (219)

    pedro andradeMarch 21, 2016 at 11:44 am

    Hi, i’ve set a form so that the user can submit articles. No problem, But how can i make a menu link so that the user can see the articles created by himself, and not but other users?Regards

    Reply

  80. Use Gravity Forms to Create User-Submitted Posts (221)

    jimmyMarch 17, 2016 at 11:29 am

    I start using it to create a form to collect dogs information but the post is not formatted. Where i have to start to create a pretty visual article like the form ?Is there a guide to obtain a awesome article and not only a collection of input ?Thanks

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (224)

      David SmithStaffMarch 25, 2016 at 2:38 pm

      Hi Shohag, you’ll want to contact Gravity Forms support for issues with Gravity Forms.

  81. Use Gravity Forms to Create User-Submitted Posts (225)

    MichaelJanuary 13, 2016 at 4:31 pm

    Hi David,

    I would like to use this feature to build an interest finder. The form would generate a post which displays a list of posts and pages according to the tags and categories selected by the user. Do you know how I would do this? I am thinking I would need to somehow capture the users input and merge it into an appropriate widget shortcode in the body of the post.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (226)

      David SmithStaffMarch 15, 2016 at 9:03 am

      You’ll probably want to collect all the required user input and run all the calculations within the form itself using Gravity Forms calculation features. Then you can use the Post Content Template feature to display the calculation results to the user.

  82. Teste News / Article Post | FallOutBoy.OrgDecember 27, 2015 at 6:29 pm

    […] the Multi-File Upload field has a merge tag that can be used in Notifications, Confirmations, Post Content Templates, and more. It looks something like {Files:2} (where “Files” is the field label and “2” is […]

    Reply

  83. Use Gravity Forms to Create User-Submitted Posts (227)

    Adam W. WarnerDecember 7, 2015 at 2:58 pm

    Hi David,

    Great stuff and thanks for sharing. I’ve just finished up an extensive post submission form and have one little thing not working as I expect and that’s trying to wrap the website field merge tag around a text field merge tag in order to have that text linked to the submitted url.

    I’m using this but it’s not working. Do you have any thoughts?

    <a href="{Website:3}{What's the name of your business/blog?:5}"

    and in case that didn’t show up above, here’s the same without double quotes in the href

    <a href='{Website:3}{What’s the name of your business/blog?:5}’

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (230)

      David SmithStaffDecember 14, 2015 at 8:40 am

      Hi Frizzle, you can specify a parent page with the GF Custom Post Types plugin. Just populate a Drop Down field with posts (on the Advanced tab) and then check the “Try to set parent” option.

      Setting the page template appears to be possible by manually populating your page template slugs into a Custom Field (in the GF form) with the input type set to Drop Down and then set the custom field name to “_wp_page_template”.

  84. Use Gravity Forms to Create User-Submitted Posts (231)

    JoelDecember 4, 2015 at 1:38 pm

    I was wondering if this feature can be combined with the User Registration add-on so that a visitor can submit content via a form, and also register for an account on the same form.

    Ideally the post would show the new user as the author, but if not, we could later assign the post to their account, correct?

    Reply

  85. Use Gravity Forms to Create User-Submitted Posts (233)

    wilDecember 1, 2015 at 5:24 am

    Hello.Can we put a tool bar for the body post ? Like the WP dashboard ( bold, titlle, add media etc ) ?Thanks you :)

    Reply

  86. Use Gravity Forms to Create User-Submitted Posts (235)

    SeanNovember 23, 2015 at 7:54 pm

    Hi David,Thank you for your incredibly helpful article! The WordPress theme that I’m using has a separate “Listings” admin menu item to store the free business listings submitted by readers. This “Listings” section is separate and apart from the standard “Post” section within the WordPress admin panel. It seems that Gravity Forms is designed to store user submitted data within the “Post” section of the WordPress admin panel. Do you know whether Gravity Forms is capable of directing user submitted data into the “Listings” section instead? This will save me the step of manually transferring the data from the “Post” section to the “Listings” section before approving each business listing.

    Many thanks for your insights!

    Cheers,Sean

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (237)

      SeanNovember 26, 2015 at 2:38 pm

      Thanks David! Gravity Forms + Custom Post Types worked perfectly with the majority of the inputs on my new Listings/Items submission form. The title, body and category post fields worked like magic once I selected the correct “Post Type” and “populate with a taxonomy” values. I’m still struggling with the Custom Fields for the remaining inputs, namely the URL, email, telephone and business address fields for the listings. These fields exist in the theme already but do not appear in the existing custom field name drop down menu. I added the meta keys for these inputs as new customer fields without success. I have followed up with the theme developer to make sure that I’m using the correct meta keys for these fields. Almost there :)

    2. Use Gravity Forms to Create User-Submitted Posts (238)

      David SmithStaffNovember 26, 2015 at 5:39 pm

      Hm, yeah, if you’ve added the right meta keys to your GF Custom Field I would expect it to work. If not, you might need to reach out to GF support to get to the bottom of it.

  87. Use Gravity Forms to Create User-Submitted Posts (239)

    RyanNovember 23, 2015 at 5:53 am

    I am using GF to create my drat posts, I am also using simple fields to attatch diferent images to the drafts. How can i, on upload save the images to the simple fields within my draft?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (240)

      David SmithStaffNovember 23, 2015 at 7:27 am

      I’d recommend using Gravity Forms Custom Field fields and set the input type to File Upload. You can then use this plugin to upload these files to the media gallery rather than just the Gravity Forms uploads directory.

  88. Use Gravity Forms to Create User-Submitted Posts (241)

    Jason SerNovember 14, 2015 at 5:17 pm

    HI David,

    I am currently looking for a solution to create Front End User Submitted Content and is wondering could Gravity Form can do what follows:

    1) Enable non registered user to submit Post2) Can upload image3) Can have extra field like phone and address on top of the regular email and name4) Extra form field where the content can be part of the post. Example with the following 4 questions

    About YourselfYour Favorite Color and why?Your Favorite Book and why?Your Favorite Movie and why?

    When non registered user filled the above questions, the question and answers will appear as part of the Post content.

    Looking forward for your expert advise

    Thanks

    Jason Ser

    Reply

  89. The CUNY Innovation Survey | lisa a. brundageNovember 12, 2015 at 2:15 pm

    […] The CUNY Innovation Survey is a crowdsourced site with a folksonomy of CUNY-based digital projects. Because of the scale of the CUNY system, overcoming information silos, discovering new projects and finding colleagues for collaboration across campuses can be a major challenge. The CUNY Innovation Survey attempts to aggregate information from across the system to make connecting easier, and to demonstrate the breadth of work underway. The contributions are searchable via an extensive tag cloud, by campus and project type. After taking initial results via a survey form and converting contributions to posts, ongoing additions are added using Gravity Forms’ Post Fields. […]

    Reply

  90. Use Gravity Forms to Create User-Submitted Posts (243)

    RattaNovember 11, 2015 at 11:14 pm

    Hi David, great article,I want to protecting the post submission in a different way, for prevention unwanted posts,can you tell me how to make a post live in the blog by activation from email?

    Reply

  91. Use Gravity Forms to Create User-Submitted Posts (245)

    AlexOctober 28, 2015 at 1:39 am

    Hi, after the post has been submitted, how are you able to get the URL of the submitted post?

    I used the demo and after I submitted the article, the confirmation page has this:Your post has been created. View your post here!

    And it links to the submitted post.

    Thanks for your help!

    Reply

  92. Use Gravity Forms to Create User-Submitted Posts (247)

    WhitneySeptember 30, 2015 at 3:52 pm

    Hi, DavidDo you know if it is possible for one of the fields in the multi-field, user-generated posts to feed into a poll?Very helpful article and conversation. Thank you!

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (249)

      WhitneySeptember 30, 2015 at 7:25 pm

      Sorry… Yes, I see that GF does have a “poll add-on.” What I’m needing to do is to create a form for user post submissions to my site which has multiple data fields – one of which would be a question related to a running poll that displays its results as a ratings distribution chart. In other words, a way to mimic the amazon product review platform which collects information into fields – one of which captures the number of reviews for each star-rating and is displayed in the chart at the top.Ratings-type plugins that one might use for this kind of functionality generally do not allow for the many fields I am needing and are therefore not usable for my purposes.Thank you for any suggestions!

    2. Use Gravity Forms to Create User-Submitted Posts (250)

      David SmithStaffOctober 1, 2015 at 7:56 am

      Hi Whitney, I’m still not following entirely. What does your form look like? What should the end result look like?

    3. Use Gravity Forms to Create User-Submitted Posts (251)

      WhitneyOctober 1, 2015 at 12:07 pm

      The form would give the user fields for title, essay body and several other data fields. The end result would look like a page from a list of “amazon product reviews” with each post showing an avatar, components from the various post entry-fields but the page would feature a “ratings distribution chart” that reflects the selection made by the posters in just ONE of those fields within the form.I have read that GF can create a “ratings distribution chart” with their “Poll Add-on”… but could it come from the data-selection on a SINGLE field in a multiple-field form or does it need to come from a stand-alone form? Thanks so much for your patience!

    4. Use Gravity Forms to Create User-Submitted Posts (252)

      David SmithStaffOctober 1, 2015 at 12:21 pm

      The Poll Add-on adds a “Poll” field type which can be added to any form. The field type then has a variety of input types available (such as ratings). I’m not super experience with the Poll Add-on so I would ping Gravity Forms directly for a definitive answer.

  93. Use Gravity Forms to Create User-Submitted Posts (253)

    DavidSeptember 27, 2015 at 2:53 pm

    I was wanting to give a customer a way to submit a listing to a custom post type is this possible i saw their was an old plugin but see it not been updated for years.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (254)

      David SmithStaffSeptember 28, 2015 at 8:27 am

      Hi David, it is safe to use the old plugin. It has not been updated because not much has changed in regards to this functionality in that time.

    1. Use Gravity Forms to Create User-Submitted Posts (257)

      WhitneySeptember 30, 2015 at 10:41 am

      Is there a way to make it the default for these comments that follow the post to be “closed” until a reader would like to “open” and read them? (ala the “comments” feature at the bottom of any amazon product review?)Thank you!

  94. Use Gravity Forms to Create User-Submitted Posts (259)

    AlexHSeptember 23, 2015 at 2:50 am

    Hi, I am trying to find a way to allow the user to create a post that has multiple steps in it, kind of like a DIY post. And within each step, the user can upload multiple images.

    So a post will have the following:

    STEP 1:Title, Description, Image(s)

    STEP 2:Title, Description, Image(s)

    STEP 3:Title, Description, Image(s)

    and so on….can this be done with gravity forms?

    Thanks in advance!

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (260)

      David SmithStaffSeptember 23, 2015 at 7:24 am

      Assuming that each step in your example represents an image to be uploaded and it’s title and description (and not an entirely new post), this can be done with Gravity Forms. Currently, you would have to create a static page for each possible image and then you can add a checkbox to the bottom of each page: “Would you like to add another image?” You can then use conditional logic to show/hide the subsequent image pages so they’ll only see as many of these pages as they need to add as many images as they want.

    2. Use Gravity Forms to Create User-Submitted Posts (261)

      AlexHSeptember 23, 2015 at 10:23 am

      So just to clarify, by separating the fields into separate pages, gravity forms would still recognize all these fields within each of these pages as part of one form?

      How would i tie in all these fields together so that when the final “submit” button is clicked, all the fields go into one form?

    3. Use Gravity Forms to Create User-Submitted Posts (262)

      David SmithStaffSeptember 23, 2015 at 10:37 am

      Gravity Forms supports multi-page forms out of the box. As long as all pages belong to the same form, Gravity Forms knows to process all pages together and will only create a single post from these pages.

    4. Use Gravity Forms to Create User-Submitted Posts (263)

      AlexHSeptember 23, 2015 at 6:53 pm

      First of all, thanks for the quick answers and being so helpful!

      One last question, is there a way that the fields for the additional “steps” or “pages” to be created on the fly?

      Or would they have to be created ahead of time? So I would have to create say 10 pages so a person can upload a maximum of 10 steps within the form?

    5. Use Gravity Forms to Create User-Submitted Posts (264)

      AlexHSeptember 24, 2015 at 2:29 am

      Please disregard my last question.

      Is it possible to insert the SUBMIT button at any page within the multi-page form? Say if the user does not want to add any more STEPS, meaning they’re done with the form, can the SUBMIT button be available at this stage?

      Let’s say there’s a max of 10 STEPS and the user decides he’s done at STEP 5? Can the SUBMIT button be visible at STEP 5?

      Thanks again!

    6. Use Gravity Forms to Create User-Submitted Posts (265)

      David SmithStaffSeptember 24, 2015 at 7:39 am

      Did a quick test and it doesn’t look like this is possible out of the box. To be clear, the next button will actually submit the form if there are no “visible” pages after it but it won’t display as “Submit”. It’ll just read “Next”.

    7. Use Gravity Forms to Create User-Submitted Posts (266)

      AlexHSeptember 24, 2015 at 12:11 pm

      I’m thinking I could just hard code the submit button inside an HTML field? This should work? Or use jQuery to trigger the submit button?

      I am only going to be using 1 form throughout the website. So it will be easy to manage.

    8. Use Gravity Forms to Create User-Submitted Posts (267)

      David SmithStaffSeptember 24, 2015 at 2:59 pm

      Just match up the HTML in your custom submit button with that used for the real submit button (ID can be different). It’ll make your life a little easier.

  95. Use Gravity Forms to Create User-Submitted Posts (270)

    VictorAugust 6, 2015 at 8:45 pm

    Hi, your site is great and I wonder if you or some one else can help with a idea.

    I want to get the answer of a form (some of then only will be displayed depending to some conditions) insert then into a editable box witch will be publish as a post.

    Ok, the form is done and its last page has a body post field in witch I insert (as default value) the basic text os the post with a lot of merge fields.

    The problem is the formatting and style. It would be great to insert html blocks in the post body edit field, but I can not do it, and using normal text fields I have problems with the final formatting.

    Does anyone have any idea who can help me?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (271)

      David SmithStaffAugust 7, 2015 at 8:30 am

      Hi Victor, have you considered to use the Post Body Content Template to add the custom markup you want?

    2. Use Gravity Forms to Create User-Submitted Posts (272)

      VictorAugust 10, 2015 at 12:04 pm

      Yes, I try, but using the default value its better for me, cause I can edit the text before send the form.

      Anyway, the problem is the formating of the merge fields.

      For example, I want to make a paragraph quoting the name of all products chosen in the form, but I have problems with the break line.

      Ex:{productA:1}{productB:2}{productC:3}

      One of the thing that I want is that if the protuct B was not chosen the result show this:

      {productA:1}{productC:3}

      And not this:

      {productA:1}<— blank space{productC:3}

      Do you know how to make it?

  96. Use Gravity Forms to Create User-Submitted Posts (273)

    Assal0leJuly 24, 2015 at 12:32 am

    Can Custom Post Field act like Post Image like what you explain in:6. Uploading Images to the Post Gallery

    What do I mean is that: Can the user, upload images using Custom Post Field(as multiple file upload type), then show all images uploaded as a gallery in that Post?

    Please help us?

    Thanks, Best Regards,Assalole

    Reply

  97. Use Gravity Forms to Create User-Submitted Posts (275)

    ChrisJuly 8, 2015 at 2:59 pm

    I have a specific case where I want the title of the post to include the name and optional company. The problem is that while the name is required, the company is not. So to Create a content template with the merge tags:

    {name:1} {company:2}

    How would I conditionally add a comma in between these ONLY if a company has been filled out?

    Reply

  98. Use Gravity Forms to Create User-Submitted Posts (277)

    Eric J. NisallJuly 1, 2015 at 3:14 pm

    This was a really great tutorial David! Perhaps you can solve a problem I’m having trouble getting an answer for.

    I’m building a site based solely on user-generated content, and I would prefer to eliminate the registration process, so I created a GF submission form, and tested it out. Everything seems to work exceptionally well, except for the “user-author-link” in the entry meta. What I’m trying to do is have the user’s website (if one is provided) linked to the author name, rather than the author page, but I simply can’t find any resource which touches on this topic.

    I’m more of an “idea” person, and not a coder but I am able to do the basics and was able to find the author-link in the functions, but can’t figure out how to get the GF website field to link to that line, so if you have any ideas in layman’s terms, I’d be forever grateful!

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (278)

      David SmithStaffJuly 3, 2015 at 12:14 am

      If the author is not an actual “user” on the site, you may need to modify your page template to pull the author website from wherever you’re storing it. If it sounds like I’m not understanding your setup, please do clarify. :)

  99. How to Use Gravity Forms in WordPress| Codefetti, LLC | Rochester Hills, MIJune 15, 2015 at 11:03 am

    […] This panel will let you add fields to create a new WordPress post. Post Fields is a bit more complex and you can find detailed instructions on how to use post fields here. […]

    Reply

  100. Use Gravity Forms to Create User-Submitted Posts (279)

    SarahMay 21, 2015 at 11:01 am

    Hi David,

    I am developing a property developer website and i want to have a simple property booking form which allow user to book the apartment there by just entering few basic information such as name, email phone and apartment no. listed as dropdown list. Once the selected apartment no. is booked it should become disable for further booking unless site admin enable it. Also on the admin side i want site admin to approve and reject the booking which will basically disable or enable the apartment no in the dropdown.

    I tried many time but not able to find any solution also new to GF. Your prompt response is highly appreciated.

    You can visit following http://ibtikarrealestate.com/our-projects/ongoing-projects/project-1/ check for reservation list.

    Reply

  101. Use Gravity Forms to Create User-Submitted Posts (281)

    Anne PApril 23, 2015 at 8:35 pm

    Hi David!

    Thanks for this tutorial, it’s very helpful. How would I add a link to the newly created post in the User notification email and/or the form confirmation?

    Thanks!Anne

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (283)

      Anne PApril 27, 2015 at 12:32 pm

      David!

      Thank you so much! That was exactly what I needed. I had tried something similar, but just couldn’t get it to work.

      You’re the best!Anne

  102. Use Gravity Forms to Create User-Submitted Posts (284)

    EheApril 22, 2015 at 4:43 pm

    Hi, thanks for this tutorial, I’v learned a lot.Can you cover how to add the Link to the Post in the confirmation / notification message please?Thanks!

    Reply

  103. Use Gravity Forms to Create User-Submitted Posts (286)

    S KaulApril 22, 2015 at 9:20 am

    Hi David,

    Is there a way for a Dropdown Field to be dynamically populated by a specific Woocommerce Product Attribute? GF+CPT used to do this for me, but since it’s abandoned there is no other way to do it. Any ideas?

    Reply

  104. Use Gravity Forms to Create User-Submitted Posts (288)

    ZackApril 16, 2015 at 9:47 am

    Hey, David. Awesome article, again!

    I’m creating a form where logged in users can post, but I need them to be able to choose the author from a list. I know I can add a dropdown menu that lists all the authors on the site on a form, but how to do I attribute that value to the post’s author field?

    Reply

  105. Use Gravity Forms to Create User-Submitted Posts (292)

    Skye MoroneyApril 13, 2015 at 9:13 am

    Hi David,Any way to connect a date field to be the “publish date” for a post?

    I’ve setup and have a mostly working GForm that takes article submissions for a school weekly bulletin. It maps the categories and I’ve used 2 plugins to get a WYSIWYG post body and ‘Media’ button for uploads working, along with the plugin you have mentioned in the comments “Gravity Forms: Post Updates”.

    The final part is getting the submissions to be scheduled for a specific date, I’ve just started looking into how to do this and thought I’d drop you comment in case you had come across this idea?

    I also have a fall back to create a tagging setup for term and week then have the editor update the blog each Monday to the correct week and term tags only.

    Also <3 GWiz, Thanks!

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (294)

      Skye MoroneyApril 16, 2015 at 9:21 am

      Thanks David! that helped a lot =)

      I had to modify the snippet slightly to fit with my desired workflow but it works great in testing so far.

  106. Use Gravity Forms to Create User-Submitted Posts (296)

    Brad DaltonApril 13, 2015 at 3:27 am

    What about HTML tags and adding images within the post body?

    What they really need is a custom editor for this.

    Reply

  107. Use Gravity Forms to Create User-Submitted Posts (298)

    Jacques LeCavalierApril 10, 2015 at 7:27 pm

    Hi there.I want to do something very simple, but I’m not sure how. I have a course evaluation form that has many fields (radio buttons, text fields, etc.) and I just want to create posts that contain all the information entered in the form, as well as the field labels, etc.

    I like the format of the entries that I can view in my WP dashboard and I’d be happy for the posts to just look like that. How can I “convert” these entries to posts, using the course title as the post title?

    thanks.Jacques

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (299)

      David SmithStaffApril 11, 2015 at 11:29 am

      Hi Jacques, I don’t know of any solutions for converting existing entries to posts; however, for new entries, you can add a Post Title field to be used as the Course Title. When the user submits the form, the value will be assigned to the newly created post. The rest of this tutorial will demonstrate how you can convert the other fields to Post-based fields and then those values can also be captured in the created post.

  108. Use Gravity Forms to Create User-Submitted Posts (300)

    JohnApril 9, 2015 at 5:43 am

    Thanks for your article, David. I’ve been trying to figure out if it’s possible to use Gravity Forms to charge someone to post content on my site. I’m thinking it would be a per-post charge, but I might also consider charging a monthly fee. Any ideas?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (301)

      David SmithStaffApril 9, 2015 at 7:17 am

      Hi John, using one of Gravity Forms’ payment add-ons, you can charge for the form submission. Since the form submission is what generates the post, this would also allow you to prevent the user from posting to your site without payment.

      If you’re going to require a subscription, you’ll want to go the membership route where the user must register and can then submit the form to add content. Here is a breakdown on Membership sites with Gravity Forms: https://gravitywiz.com/basic-wordpress-membership-site-with-protected-content-using-gravity-forms/

  109. Use Gravity Forms to Create User-Submitted Posts (302)

    Bodie QuirkMarch 26, 2015 at 2:39 pm

    David,

    This article was awesome! I wanted to know the best way to do this. I am creating a memorial site where I want people to be able to post thoughts about their friend that has passed on. I want it simple. Go to the page, type your name, type your content and publish. It’s just an online guestbook.

    I have two questions: 1) I don’t see featured image anywhere in my list to add to the body content and 2) I don’t want people to register. Should I just create a basic user that everyone logs in under?

    Thanks so much

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (303)

      David SmithStaffMarch 26, 2015 at 10:44 pm

      Hi Bodie,

      1. You would need to add a Post Image field and then you can insert the merge tag for that field into the Post Content Template.
      2. Users do not need to register to create a post. You can assign a default author to which the post will be attributed via the Post Title and Post Body fields.
  110. Gravity Forms: Hilfreiche Links | PA Kommunikation und MarketingMarch 18, 2015 at 1:41 am

    […] Gravity Wiz: Beschreibung wie ein “Post” Formular erstellt wird, mit welchem Beitrage erstellt und ge… […]

    Reply

  111. Use Gravity Forms to Create User-Submitted Posts (304)

    RobMarch 13, 2015 at 10:07 am

    In gravity forms when adding a custom field in the post fields section, when selecting the drop down field type, is it possible to add the “Populate with post type” option when using the Gravity Forms + Custom Post Types plugin?

    This works for a standard drop down field but not a custom field with the field type set to drop down.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (305)

      David SmithStaffMarch 13, 2015 at 6:16 pm

      Hi Rob, I’m assuming this is not possible out of the box with that plugin. If you’d like to map it to custom field you can add a hidden custom field type and also a standard drop down. Enable the populate with post type option on the standard drop down and then map the value from the standard drop down to the custom field with either this snippet or GP Copy Cat (which now supports automatically copying a value without having to check a checkbox).

    2. Use Gravity Forms to Create User-Submitted Posts (306)

      RobMarch 16, 2015 at 5:08 am

      Hi David, Thanks for getting back to me. I managed to adjust the plugin to include the custom field so it now works like a standard drop down.

  112. Use Gravity Forms to Create User-Submitted Posts (307)

    SuzanMarch 11, 2015 at 10:41 pm

    Is it possible to use this to create accounts for the persons creating the pages with a form? I would like to sell themed mini-sites and this looks good, but there is a lot to it… user accounts, and the ability to login and make changes, etc. Any ideas or direction would be appreciated!

    Reply

  113. Use Gravity Forms to Create User-Submitted Posts (309)

    Robby PayneMarch 11, 2015 at 11:58 am

    Hey David,

    You’ve been so helpful in the past, I figured I’d give this a shot here. I’d like to be able to allow the creation of a new category by the user when filling out the form.

    So, “Joe” comes to the site, uses the form to create his post, and one of the fields is for the category. However, instead of a pre-populated list to choose from, he is given the option to create the category by typing in whatever he’d like.

    Is this remotely possible? Thanks in advance!!!

    Reply

  114. Use Gravity Forms to Create User-Submitted Posts (311)

    @ommunistMarch 3, 2015 at 3:48 am

    Hi, thank you for the awesome article.Is there a way to add not just featured image, but several images and than display them in picture gallery associated with post created with GF backend?

    Reply

  115. Use Gravity Forms to Create User-Submitted Posts (315)

    ChrisFebruary 26, 2015 at 1:13 pm

    Hello is it possible to have the form turn into a post automatically with out the user having to submit a picture or category. Example: A resume submission form that creates a post so we can have a page that shows all of the resume submissions. Thank you

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (316)

      David SmithStaffFebruary 26, 2015 at 5:47 pm

      Hi Chris, this would make a great tutorial. I’ve added it to the queue. In the meantime, here’s a top-level list:

      1. Create a custom post type
      2. Make sure custom post type has an archive page
      3. Configure Gravity Forms to create post of the custom post type
      4. That’s pretty much it…
    2. Use Gravity Forms to Create User-Submitted Posts (317)

      Craig TommolaFebruary 26, 2015 at 5:52 pm

      You can also have only some categories offered, but only offer one, then make that field hidden. It will by default go to that category and automatically have an archive, etc.

  116. Use Gravity Forms to Create User-Submitted Posts (318)

    Meg SeegmillerFebruary 20, 2015 at 12:45 pm

    Is it possible to create a form where the user could create theoretically an unlimited number of posts connected to one form entry?

    Here’s the scenario:In addition to filling out a project planning guide through a form on my website, I’d like for my clients to be able to submit page content for each of their pages directly to me. Each client is different and will have a different number of pages to submit. Is this possible?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (319)

      David SmithStaffFebruary 20, 2015 at 1:34 pm

      To be clear, regardless of what client is submitting the form, all the posts would be created on the same site?

    2. Use Gravity Forms to Create User-Submitted Posts (321)

      David SmithStaffFebruary 20, 2015 at 3:38 pm

      Rather than creating multiple posts from a single entry. It might be easier to allow the user to signup for an account or simply require they use the same email address. Then you can let them submit the form as many times as they need, each submission being a separate page.

      If you’re collecting other stuff on that form that you don’t want them to have to repeat, breaking the post fields into a separate form would solve that.

  117. Use Gravity Forms to Create User-Submitted Posts (324)

    Jade StewartFebruary 12, 2015 at 5:38 pm

    Hi thanks for the great post Ive just created a testimonial type system using this and I was wondering would there be a way to add a star rating to these testimonials perhaps using the survey extension on GF as it has a star rating option.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (325)

      David SmithStaffFebruary 13, 2015 at 7:56 am

      Hi Jade, the Survey add-on does offer a star rating field; however, it isn’t possible to map this to the created post.

      Here’s a quick and dirty solution that might help.

      1. Create a Custom Field and set the “Field Type” to “Number” (screengrab).
      2. Add an HTML field and paste this code into the “Content” setting (screengrab).
      3. In the code snippet, update the “733” in “#input_733_3” to your form ID.
      4. Update the “3” in “#input_733_3” to the field ID of the Custom Field we added in Step #1.
      5. Done!

      End result should look something like this: http://grab.by/EKKS

  118. Use Gravity Forms to Create User-Submitted Posts (326)

    BenFebruary 10, 2015 at 2:37 pm

    Is there a way to have the user register in that same form where he publish the post and then let him edit the post when ever he wants to with those registration details?

    Thanks,Ben

    Reply

  119. Use Gravity Forms to Create User-Submitted Posts (328)

    Christopher HawkinsFebruary 2, 2015 at 5:05 pm

    Thanks for the awesome article. We are currently looking at different ways (i.e the best way) to allow users to submit User Generated Content from the front end. So far this seems to be the most elegant way.

    One question though, do you know if it is possible to only allow registered users to submit the form to a post. Or even if we could restrict to a certain user level (i.e Contributor).

    Cheers,Chris

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (329)

      David SmithStaffFebruary 3, 2015 at 7:00 am

      Hi Chris, allowing only registered users is possible with Gravity Forms by checking the “Require user to be logged in” option on the Form Settings page. Limiting to a specific user level would require another plugin I’d recommend, Members. For a quick overview on how to set it up (don’t worry, it’s really simple), check out step 3 of this article for membership sites with Gravity Forms: https://gravitywiz.com/basic-wordpress-membership-site-with-protected-content-using-gravity-forms/#step-3

    1. Use Gravity Forms to Create User-Submitted Posts (332)

      David SmithStaffJanuary 27, 2015 at 2:18 pm

      A codeless solution would be to add a Post Category field with the desired category preselected. You can then hide the Post Category field with the “gf_hidden” CSS class – or – mark it as Read only.

    2. Use Gravity Forms to Create User-Submitted Posts (333)

      Craig TommolaJanuary 27, 2015 at 2:25 pm

      I’d set it to admin only but it didn’t allow preselection. However, by setting it to only allow certain categories, and only allowing one, it assigned it to the only available … um … of course :)

      ThxCT

  120. Use Gravity Forms to Create User-Submitted Posts (334)

    RonelJanuary 26, 2015 at 3:56 am

    “I’ve just responded to your email. Short answer, is yes, you can use GF to create WooCommerce products. Use the GF + Custom Post Types plugin (link in the first tip of this article) to create “product” post types instead of “post” post types. Then use GF Post Custom fields to allow the user to define the price and other options.”

    I’ve installed both plugins, but there is no option to link a new post via GF to products post type. Is there additional PHP that needs to be added anywhere? It seems the GF plugin doesn’t have any settings of its own. I’d really appreciate your help.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (335)

      David SmithStaffJanuary 26, 2015 at 11:15 pm

      Hi Ronel, the documentation from the GF + Post Custom Types plugin says:

      How to map a form to a custom post type

      Add a post title field to your form and under the advanced tab, tick the "Save As Post Type" checkbox. A dropdown will appear with the available post types. Select the one you want.

      Are you not seeing this option? If so, the developer of the plugin might be able to help you get that sorted.

  121. Use Gravity Forms to Create User-Submitted Posts (336)

    asdJanuary 7, 2015 at 1:24 pm

    is it possible to use Gravity Forms to Create Product for woocommerce?I want to know if you have any suggestions to send the contents of a module in a product that after I’ve checked it, I can publish and sell it in woocommerce.thanks

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (337)

      David SmithStaffJanuary 8, 2015 at 10:28 am

      I’ve just responded to your email. Short answer, is yes, you can use GF to create WooCommerce products. Use the GF + Custom Post Types plugin (link in the first tip of this article) to create “product” post types instead of “post” post types. Then use GF Post Custom fields to allow the user to define the price and other options.

  122. Use Gravity Forms to Create User-Submitted Posts (338)

    OytaJanuary 6, 2015 at 6:47 am

    When you use Lists to popular a WP post body, the content is submitted in a table format which is hard to style.Especially the column headers show up and I have no way of hiding that. Do you know how to get Gravity Forms not to pass the Column header data (I can’t leave it blank in the form because users still need to know what to write in the columns).

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (339)

      David SmithStaffJanuary 7, 2015 at 9:53 am

      Can you provide me an example of the generated content you’re working with? A URL is preferable to a screenshot.

  123. Use Gravity Forms to Create User-Submitted Posts (340)

    EvrenDecember 16, 2014 at 6:24 am

    Hello,

    I have the steps in your tutorial down. It works and creates instances of custom post types as required. The issue I am having is that the created posts don’t have a WPML language attached to them and I, therefore, can’t generate a synchronized translation. Is there a way to make the created post explicitly in the website’s default language which is English? I was wondering if you had insight into this thorny problem.

    Best Wishes,Evren

    Reply

  124. Use Gravity Forms to Create User-Submitted Posts (341)

    RichardDecember 11, 2014 at 9:10 pm

    Hi David. Great post, thanks. Do you know whether it’s possible to use conditional shortcodes in the post body content template?

    ThanksRichard

    Reply

  125. Use Gravity Forms to Create User-Submitted Posts (342)

    MMDWCNovember 20, 2014 at 1:38 pm

    Hello,

    thanks for your article.I just wanted to know if the user had to be registred to fill the form and then generate the post ?I’m looking for a solution for non registred users.also does it work with custom post types ?thanks a lot !

    Reply

  126. Use Gravity Forms to Create User-Submitted Posts (343)

    Ken LyleNovember 18, 2014 at 1:05 pm

    Scratch my last post. User error – Under the Advanced tab on the Title field, the Save As has to be set to the target type.

    Reply

  127. Use Gravity Forms to Create User-Submitted Posts (345)

    MikeNovember 16, 2014 at 11:17 pm

    Thanks for the great article! I was hoping you could clarify something for me. I’m working on a content site where registered users can share videos accompanied by commentary. If I have an existing template, is it possible to populate a section of that template with text submitted through a form?

    For example, if the top half of the body is always the same, can I use this plugin to just populate the bottom half with the form submission? Additionally, if someone copy/pasted a youtube embed code would that show up and work on the post? Thanks again for your time!

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (346)

      David SmithStaffNovember 17, 2014 at 9:56 am

      Hi Mike, yes to both questions.

      1 – Use the “Post Body Content Template” to append the “static” text before the user-submitted text in the post body. This would look something like this:

      This is static text{My Post Body Field:12}

      The “merge tag” would be different based on your Post Body field label and field ID and the static text would be whatever you’d like.

      2 – Embed codes should work automatically. WordPress supports automatically embedding YouTube videos just by using the YouTube link as well which is probably the cleaner option.

    1. Use Gravity Forms to Create User-Submitted Posts (350)

      JoelOctober 31, 2014 at 9:09 am

      Thank you very much for the quick response. I have reached out to the authors of that plugin to see if it will work for my needs.

  128. Use Gravity Forms to Create User-Submitted Posts (351)

    MatthewOctober 25, 2014 at 7:55 pm

    Have a question relating to the options described. How would I use a form to create a posting but for a Q and A section. It would collect on the back end once the forms answer line is filed out could be auto posted our with click. Also the form with the question and answer would get email to the submitting party when posted. Any help would be great.Thanks

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (352)

      David SmithStaffOctober 26, 2014 at 7:58 am

      Hey Matthew, I’m not sure I understand your scenario. The form would contain several questions and the user would provide answers or each form would be a question from the user which you would answer?

    2. Use Gravity Forms to Create User-Submitted Posts (353)

      MatthewOctober 26, 2014 at 3:52 pm

      My form wouldbe a single form. The form fields would be name, email, question, and answer. The form would show on front end every field but the answer field. The answer field would only show on the back end. Once the answer field is filed in from the back end the form would post to add custom post type and email a copy to the user that submitted the question.

    3. Use Gravity Forms to Create User-Submitted Posts (354)

      David SmithStaffOctober 26, 2014 at 8:53 pm

      My recommendation would be to create the post based on the question. Rather than answer the question via the entry editor, I would answer the question in the generated post. You can set the post as draft by default and one you’ve answered the question (in the post editor) and then publish the question (and answer) as a single post.

  129. Use Gravity Forms to Create User-Submitted Posts (357)

    Jon LoutzenhiserOctober 18, 2014 at 7:01 pm

    Hi David,

    I was just wondering if there was a way to integrate these front end posts to user profiles in buddypress by including a tab that directs them to a list of their posts?

    Thanks for your response!

    Reply

  130. Use Gravity Forms to Create User-Submitted Posts (359)

    dugueOctober 11, 2014 at 4:09 pm

    Hi,Thanks for the demo. I understand it for adding 1 picture but what if i need the user to be able to add as many pictures he wants? your demo seems to work only for 1 picture added to the post body…Also, do you if it is possible to add links and video on the post body….thanks

    Reply

  131. Use Gravity Forms to Create User-Submitted Posts (361)

    KimOctober 4, 2014 at 10:25 pm

    I want to achieve the same effect you did on your post creation demo: a page that generates a link to the post created. Obviously I would set the post to ‘published’ in Gravity Forms instead of ‘pending review’ or ‘draft’. But how would I get the link? Can that be set dynamically in GF?

    Thanks!

    Reply

  132. Use Gravity Forms to Create User-Submitted Posts (363)

    KimOctober 3, 2014 at 12:25 pm

    Great post! The plugin you referenced for creating custom post types – Gravity Forms + Custom Post Types – hasn’t been updated in over 2 years, so I’m reluctant to use it. I have the WP Types plugin which is capable of creating custom post types. I’m assuming I can use that in its place and achieve the same effect? Any suggestions? Thanks!

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (364)

      David SmithStaffOctober 3, 2014 at 4:50 pm

      Hi Kim, WP Types will actually create new custom post types. GF + Custom Post Types doesn’t create new custom post types. It lets you say, “This Gravity Form should create a post of “x” post type. You’ll need both. :)

      As far as GF + Custom Post Types not having been updated in a couple years… Haha, short answer is, not much has changed in a couple years. I know Gravity Forms support still recommends this plugin and there’s been no reports of users having issues with it.

      Happy to answer any other questions. :)

  133. Use Gravity Forms to Create User-Submitted Posts (365)

    Katie KeithSeptember 3, 2014 at 1:36 pm

    Really helpful post thanks. Please could you let me know whether this Gravity Forms add-on allows the user to select a format when they create a post using the form? For example, can the user choose whether it will be a video post, a link, etc.? Thanks very much

    Reply

  134. Use Gravity Forms to Create User-Submitted Posts (367)

    JohnAugust 30, 2014 at 11:55 pm

    Hay David, I am looking for a quick minute of your time to to bounce my requirement with you

    I want to create a petition entry FormI want to collect several data fields to includeUser NickNameFirst NameLast NameCityCountryCustom 1Reasons for signingAnd some options from pre set field drop downsDrop down Field 1Drop down Field 2Drop down Field 3

    I want to display each individual petition submissions as a post.

    Page to look something like this. (I can set up the Petition description as a sticky post)

    https://www.change.org/p/theresa-may-british-home-secretary-end-the-detention-of-women-who-seek-asylum

    I want to generate posts for each petition submission and to show specify fields only.

    NickNameReason for signingDrop down Fields 1Drop down Fields 2Drop down Fields 3

    So my question is really : Can I generate posts to contain more just the “Reason for signing” but include other specified data fields collected from a Form

    My site is a non profit – seeking public awareness

    Many thanks for your time to respond.

    J

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (368)

      David SmithStaffAugust 31, 2014 at 1:12 pm

      Hi John,

      Yes, Gravity Forms can store almost any data with the generated post. Most commonly, this is done with the “Custom Field” field type. After adding a custom field to your form, you can select which “type” of field it is (i.e. drop down, single line text, checkbox, etc) and also specify which custom field it should map to on your post.

      To actually display the custom fields on the frontend with your post you will need to either find a plugin that can help with this or write some custom PHP that handles this. See the “Custom Fields” section in this post for more details.

    1. Use Gravity Forms to Create User-Submitted Posts (371)

      AlexAugust 26, 2014 at 10:48 am

      Added the code , nothing happends . It’s supposed to add the post merge tags to advance tab > default value field dropdown , right ?:D Fyi , using gravity forms 1.8.11 along with Gravity Forms + Custom Post Types , if that’s of any use .

      Thanks for the quick reply ;p

    1. Use Gravity Forms to Create User-Submitted Posts (373)

      David SmithStaffAugust 25, 2014 at 9:27 am

      Hi Mason, yup this is possible. Your example would just require a little configuration of the Post Content Template (a default Gravity Forms feature) and some CSS styling. You won’t need Gravity Perks to accomplish this but if you want to use our affiliate link when you purchase Gravity Forms, we’d be much obliged. :)

      Buy Gravity Forms

    2. Use Gravity Forms to Create User-Submitted Posts (374)

      Mason LAugust 26, 2014 at 4:29 pm

      Thanks David. Definitely will purchase through your link. Will definitely be purchasing GP as well. One more question for you, since you guys are so helpful and GF doesn’t have sales support.

      If I want to tie in user submitted posts with the membership feature, do I need the dev, biz, or basic license? Thanks again!

    3. Use Gravity Forms to Create User-Submitted Posts (375)

      David SmithStaffAugust 26, 2014 at 8:46 pm

      You’ll want a developer license so you can register the user with the User Registration add-on. This add-on also handles attributing the post to the newly created user after the form is submitted.

  135. Use Gravity Forms to Create User-Submitted Posts (376)

    Patrick De WachterAugust 13, 2014 at 3:54 pm

    Hi, thanks for the article.Is there a way to build the body of the post, from several individual fields? I’m thinking of asking a couple of questions to people and showing the answer like an interview (question, + answer of the user; next question + answer on second question; …) and this combined with a upload from a picture and that kind of stuff. categories and tags would be insterted automaticly (and not shown to the user).Would I be able to do that with Gravity forms and some extensions?

    thx for the support

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (377)

      David SmithStaffAugust 13, 2014 at 8:13 pm

      Hi Patrick, yes, this is possible with the “Post Content Template” (see the second paragraph of the Post Body section). You can use pretty much any field merge tags you’d like here to configure as needed.

  136. Use Gravity Forms to Create User-Submitted Posts (378)

    AnthonyJune 19, 2014 at 3:20 pm

    Very informative, thanks! I’m thinking of going with Gravity Forms to achieve what I’m looking for – I’m creating a nightlife directory where users will submit events (custom post types) and venues (pages) to be featured on the site.

    My only question is what is the best way to achieve an area where users can manage their submissions? (ie, whether the post is Pending or Approved/Published)

    Obviously this would require a user login/registration page so I’ve been looking at the WooCommerce+Gravity Forms extension, but got a little scared when it said “Not yet supported: Post creation fields”

    Was hoping you could point me in the right direction for the extensions I would need to make this work

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (379)

      David SmithStaffJune 19, 2014 at 4:08 pm

      Assuming you’d like to keep as much of the management on the front-end as possible here is a list of plugins I would use and why:

      • Gravity Forms
        It provides the basic functionality for user-submitted content, in your case, events and venues.
      • Gravity Forms User Registration Add-on
        Allows you to register users on your WordPress site per form.
      • Gravity Forms Payment Add-on (Stripe, PayPal, Auth.net, etc)
        Any of the Gravity Forms payment add-ons will allow you to charge users to either register on the site or per submission.
      • Gravity Forms: Post Updates
        I have not personally used this add-on but reading the feature list it sounds like it would allow you to let your registered users manage the posts they’ve created via Gravity Forms from the front-end.

      You should also check out our article on creating membership sites with Gravity Forms. Lots of good info in there. :)

  137. Use Gravity Forms to Create User-Submitted Posts (380)

    AlexJune 13, 2014 at 6:46 am

    Thanks for the tut ! Now , here’s one for you : will i be able to filter my posts based on the custom fields used ? Let’s say i add a country field , which users needs to select to be displayed in post . Can i filter/sort my posts to only show posts made from specific contry ? Thanks !

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (381)

      David SmithStaffJune 14, 2014 at 8:21 am

      Hi Alex, this isn’t currently possible without additional custom code as the Address field type does not offer a merge tag for accessing individually inputs, such as the country. All the address data is provided in a string. If you are comfortable using a separate country field, you could add this as a Custom Field which would map it a custom field on the generated post. You could then create a custom query on whichever page you want to show country-specific posts using the Custom Field parameter of the WP_Query class.

  138. Use Gravity Forms to Create User-Submitted Posts (382)

    Brandon PierceJune 12, 2014 at 9:16 am

    Is there a method for pulling the auto-generated post’s URL to be included in a notification that is sent upon completion of the form?

    Thanks for this article, it has been awesomely helpful. The folks at Gravity Forms suggested it to me when I outlined our goal.

    Reply

  139. Use Gravity Forms to Create User-Submitted Posts (384)

    MeganMarch 24, 2014 at 8:53 pm

    I am trying to use gravity forms for an interview type thing. I have uploaded the custom gravity form that you link to and I can view the filled out forms, but it will not populate into an actual post… what am I doing wrong?

    Reply

  140. Use Gravity Forms to Create User-Submitted Posts (386)

    RichardFebruary 23, 2014 at 5:55 am

    But on your demo the featured image shows twice, as an attachment and as the top featured image above the post. This seems to be a common problem with front end submission plugins. How to prevent this?Thanks.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (387)

      David SmithStaffFebruary 23, 2014 at 7:53 am

      Hi Richard, in this case, I’ve added the image to the post body intentionally just to demonstrate that you can do this automagically with Gravity Forms via the “Post Content Template” setting. The featured image above the post is handled by the theme but you don’t have to output the image in the post body as well.

  141. Use Gravity Forms to Create User-Submitted Posts (388)

    OliverFebruary 13, 2014 at 9:15 am

    Hi David,

    me again struggling with the query…

    I have set up the form for user submission with gravity forms (excellent product!!!) and everything works fine now. But how can i do sth. like this:I have captured the name (user-name) and email (user-email) and want make the displayed user name clickable (with a query to list all posts of this user. Or the field nationality (user-nationality) clickable with a query to list all post of this nationality.

    Sorry for this dumb questions, but i don´t know how to solve it.I have seen http://codex.wordpress.org/Class_Reference/WP_Query#Custom_Field_Parameters but don´t know how to use it.

    Can you please advise me with one example? Best way for me would be to use the “Allow field to be populated dynamically”-function of gravity. Thanks a lot in advance.

    Reply

  142. Use Gravity Forms to Create User-Submitted Posts (389)

    OliverJanuary 22, 2014 at 5:48 am

    Hi David,

    thank you very much for this tutorial. This is exactly what I´m looking for. But I have one question. I want users to submit posts with pictures without registration. But I want to manage the users, i.g. show a list of users with the number of pictures they have posted, etc. Can I do that with custom fields like “Contributor” and ask the users in the form for their name? And how can I relate/connect the data (user, picture, text, date, etc). Thanks in advance.Oliver

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (390)

      David SmithStaffJanuary 23, 2014 at 12:04 am

      Absolutely. If you want to store the name of the contributing user as a custom field on the generated post, just created a new Post Custom Field field and set the “Custom Field Name” setting to “contributor” (or whatever you’d like it to be called). To make it more identifiable to a single user, I’d probably also capture the user’s email as a custom field as well.

      As far as connecting the data, I assume you mean query for all posts submitted by a user (as defined by the “contributor”), the WP Query class provides a powerful and flexible way to search posts by post meta (aka custom fields).

  143. Use Gravity Forms to Create User-Submitted Posts (391)

    RobertJanuary 3, 2014 at 9:07 pm

    Great run down of the post creation functionality. I’m actually having a challenge to auto create excerpts based on data from the submission – wonder if you can help.

    I am working with CPTs in this case and creating job postings for employees advertsing jobs. All data from the forms get put into a nice tidy table – no problem.

    Thing is, I also want to create a custom excerpt based on the submission showing: Employer, Job type, location and start date – 4 of the fields on the job submission form.

    Unfortunately the merge tags are not available on the excerpt creation field….

    Any ideas?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (392)

      David SmithStaffJanuary 5, 2014 at 11:41 am

      Hi Robert, assuming the user is not entering their own excerpt, here is a system that might work.

      1 – Add an excerpt field to the form.2 – Add a default value to this field using the “Default Value” setting (on the Advanced Tab). The default value can include any merge tags that you want.3 – Add the “gf_hidden” class to the “CSS Class Name” setting so the field will be submitted with the form but not be visible to the user.3 – Paste this snippet into your theme’s functions.php file: http://pastie.org/8603929 It will replace the merge tags in the Post Excerpt default value.

      This code was written on the fly and not tested… so let me know how it works out. ;)

  144. Use Gravity Forms to Create User-Submitted Posts (393)

    ChanNovember 8, 2013 at 2:58 am

    Hi David, thanks for the great post. I’m curious if there would be any way to make custom field (date/time) as the date/time to publish the post? (i.e, once the form is submitted, the post is saved as draft with the date/time they have chosen). Any chance to accomplish this? Thanks much!

    Reply

  145. Use Gravity Forms to Create User-Submitted Posts (394)

    AndySeptember 25, 2013 at 5:12 pm

    Hi David, thank you very much for all of your info. I have 2 quick questions on this topic:

    1.) If I’m using BuddyPress, how can I show the post under the authors user profile page? Sort of how BuddyPress does it by default if you post via WP.

    2.) Does this process enforce a user to be logged in? If not, how can I make sure that only logged in users can post?

    Thank you!

    -Andy.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (395)

      David SmithStaffSeptember 25, 2013 at 5:46 pm

      Hi Andy, Gravity Forms provides a an option on the form settings to require the user be logged in. Once the user is logged in and fills out the form, it will automatically attribute that post to the user if you have the “Use logged in user as author” option checked: http://grab.by/qBIo I’m assuming with the form configured as such, it will integrate automatically with BuddyPress’ profile page.

  146. Use Gravity Forms to Create User-Submitted Posts (396)

    MattSeptember 19, 2013 at 4:27 pm

    I’m trying to use the Gravity Forms survey add-on to set up a survey page where users can submit a star rating and a comment. Then, I’d like for those stars and comments to be displayed as posts on another page. There’s obviously no post fields for the advanced survey fields, but can you think of any workaround or advice? This is an awesome tutorial, by the way.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (397)

      EdwardJuly 23, 2014 at 3:11 pm

      I was able to work around this by adding a new field with a merge tag that collects the rating and saves it in a custom field (then the rating can be displayed in any template).

  147. Use Gravity Forms to Create User-Submitted Posts (398)

    ChrisAugust 13, 2013 at 7:47 am

    Great tutorial! Especially for non-coders it is very easy to understand. Thanks Gravity and David!

    There is one thing you might help out:How do I create a custom field for all posts and how do I make it appear on my site?

    Gravity Forms provides such an option to add custom fields, but doesn’t make it appear, as you mentioned.

    What I need for my submission form is a simple field in which my visitors additionally can enter the price for hotels/hostels which they are suggesting by posting on my blog. You understand?

    This field should be shown below/above the post image.

    I’ve seen the documentation on WordPress.org, but I didn’t understand it because it seems that this documentation only provides how to show a predefined content.Or am I wrong?

    Please, need help!

    Reply

  148. Use Gravity Forms to Create User-Submitted Posts (399)

    sofieJuly 2, 2013 at 11:27 am

    Hi David,

    A very useful article. Can you help me with the following. I would like to show the categories (as in “post fields > category” in a certain order. Now it is sorted alphabetically but showing numbers gives a strange result :

    100 participants150 participants20 participants40 participants

    It would be great to re-order the categories from small (20 participants) to big. Is this possible?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (400)

      MatthewOctober 26, 2014 at 3:18 pm

      Our world be a single form. The form fields would be name, email, question, and answer. The form would show on front end every field but the answer field. The answer field would only show on the back end. Once the answer field is filed in from the back end the form would post to add custom post type and email a copy to the user that submitted the question.

  149. Use Gravity Forms to Create User-Submitted Posts (401)

    MikeJune 16, 2013 at 5:39 pm

    Hi David, great post! I saw in an above comment that you mentioned the list field can be linked to a custom field. However, I’m trying this & whether it’s textarea, input or even a repeatable field, I can’t seem to get more than the first list item to show up in the back-end. Any ideas on how to store all the list items? Thanks!

    Reply

  150. Use Gravity Forms to Create User-Submitted Posts (402)

    RickJune 11, 2013 at 9:38 am

    Hello. This is useful article for someone like me who is considering purchasing Gravity Forms. However, before I go ahead with it, I’m curious to know whether it can do what I need it to do for a user generated photo sharing website.

    1) Is it possible to batch upload more than one image to create a WP gallery within the post?2) If so, is it possible to automatically set, say… the first image in the upload as the featured image for the post?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (403)

      David SmithStaffJune 11, 2013 at 10:14 am

      Hi Rick, Gravity Forms has a “Post Image” field. You can add multiple Post Image fields to allow the user to upload multiple images to the post gallery. Additionally, there is a setting on the Post Image field that allows you to indicate that it should be the featured image for the created post.

  151. Use Gravity Forms to Create User-Submitted Posts (406)

    Bruce GilbertJune 6, 2013 at 7:29 pm

    I posted this query on the WP forums with no love. I am using Gravity forms to post data for the purpose of ride sharing to the beach. I have a category post field set up for the select options of ‘give a ride’ and ‘get a ride’. I want to (if possible)combine the data from this select menu to display beside the post title info. which displays on the recent post info in the right column. I assume this can be done with some PHP manipulation, but not exactly sure how.

    any ideas? Let me know if I need to explain more…

    Reply

  152. Use Gravity Forms to Create User-Submitted Posts (408)

    crystal collinsApril 7, 2013 at 5:59 pm

    Thank you for the post David.

    Could you please clarify how to create a form that allows me to create questions and and have the submitter answer these questions showing both the questions and answers on the post. I have tried adding merge tags to the post body with no success. Please Help! This is similar to marlita hill’s question.

    Reply

  153. Use Gravity Forms to Create User-Submitted Posts (409)

    Matthew HowellMarch 20, 2013 at 12:19 pm

    Hello David! Hey, when I enter an image on the choose file part of the form when I preview my form it doesnt post the image, any ideas?

    Reply

  154. Use Gravity Forms to Create User-Submitted Posts (410)

    Jay BMarch 17, 2013 at 8:17 am

    Works great with featured images. I have a theme that doesn’t really support featured images. Is there a way to have the image uploaded to the post content using gravity forms?

    Reply

  155. Use Gravity Forms to Create User-Submitted Posts (411)

    Matthew HowellMarch 14, 2013 at 11:49 am

    Hey David, Im considering purchasing Gravity forms today but I want to make sure it can achieve the result I am wanting. I am wanting to create a site that will allow users from my little town to post items for sale (example: Buy my Xbox, $50!) and also allow other user to post on those post with a bid/question/or offer. And I would like to incorporate my own wordpress theme into it. Is this achievable with GF? and do you maybe have an example of that? Thank you so much for your time and help, have a great day!

    Reply

  156. Use Gravity Forms to Create User-Submitted Posts (412)

    Bruno AcciolyMarch 11, 2013 at 5:32 am

    Does someone know a way to show to the user (and if possible send a notification) with the link of the resulting post?

    Thanks

    Reply

  157. Use Gravity Forms to Create User-Submitted Posts (414)

    manthoMarch 7, 2013 at 4:22 am

    hey David,I wonder how to map “Advanced Form Fields” e.g “name”, “List”, etc to custom fields. Obviously these gravity form fields are not supported by WordPress standard field, but I am desperately want them on my post.Please help,

    thank you

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (415)

      David SmithStaffMarch 7, 2013 at 10:15 am

      List field is available as a field type for Custom Fields: http://grab.by/kvco

      I’m actually surprised the Name field isn’t available for Custom Fields, but here is a simple work around.

      1 – Add a “Custom Field” field to your form and set it to the “Hidden” field type.2 – Add a “Name” field to your form.3 – Paste this snippet into your theme’s functions.php file: http://snippi.com/s/o0jipcx There are some instructions inline to get this configured for your own form.

  158. Use Gravity Forms to Create User-Submitted Posts (416)

    Funny PicturesMarch 4, 2013 at 8:23 am

    Thank you so much for this tutorial. I’ve been looking for an easy way to have front page user submitted content. This works flawless on my website. One thing that i noticed in your demo that i couldn’t figure out. On your demo after i click submit, i’m sent to a page that read click here to go to your post & has the post link. How can i do this?

    Thanks alot

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (417)

      David SmithStaffMarch 4, 2013 at 8:35 am

      Glad you found the tutorial helpful. To setup your confirmation with a link to the created post, just add the following in your confirmation text wherever you would like the link to appear:

      View your post here!

      Here is what the confirmation looks like on the demo form: http://grab.by/koxY

  159. Use Gravity Forms to Create User-Submitted Posts (418)

    tanseyMarch 3, 2013 at 12:24 pm

    Hi, Thank you for this tutorial.I am looking to integrate a front end user generated blog with my buddypress website. I do not wish to approve every post prior to it being published.

    Is it possible and easy for the post that the user wrote, to be automatically posted on my website without admin approval?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (419)

      David SmithStaffMarch 3, 2013 at 12:31 pm

      Yep! All you need to do is set the “Post Status” option to “Published”. This will publish posts generated from the form automatically without requiring any admin approval. More info in this section.

  160. Use Gravity Forms to Create User-Submitted Posts (421)

    Ira WeissmanDecember 30, 2012 at 11:59 am

    Hey David. Thanks so much for this. It was a huge help. I was trying for hours to figure out how to get the image in the post body until I stumbled upon your article here and realized I needed to add the merge tag for the image.

    The only thing is that it’s still not working! What happens now is that it creates a simple text post body with no rich formatting and it inserts the image URL without any formatting. This happens no matter what size/orientation I choose in the “select image size” dropdown list.

    Any suggestions?

    Thanks!

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (422)

      David SmithStaffJanuary 4, 2013 at 9:36 pm

      Spoke with Ira via email. She/he was able to resolve this on their own. There was a permissions issue with their uploads folder.

  161. Use Gravity Forms to Create User-Submitted Posts (423)

    JenNovember 5, 2012 at 4:21 pm

    Hi David,Thanks for the tutorial! I’ve been looking for a solution like this for sometime now. In the demo, I was wondering what you did to generate the link to the post? (Where it says “Your post has been created. View your post here”). Is the link to the post generated in gravity forms? Or is a snippet of code that you placed on the thank-you page.Thanks Again!

    Reply

  162. Use Gravity Forms to Create User-Submitted Posts (426)

    Frank martinOctober 2, 2012 at 11:01 am

    Hi David Smith, nice contribution.i have a very fair question here.following all that we are able to make a content post system, but how to keep a facility of editing the post while still staying at front end? if a post is added by author,subscriber or any profile(admin allow), and then how can that user edit his profile from front end? greatly appreciated.

    Reply

  163. Use Gravity Forms to Create User-Submitted Posts (428)

    MadtownLemsSeptember 25, 2012 at 3:48 pm

    When creating a post from one of these forms, I am able to insert an image of any size I want. However, I can’t figure out how to make that image a link to the original size.

    Any ideas? I’m thinking I need to do something akin to:

    {Image:5:small:right} .. but have no idea how to get the something in the Template.

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (429)

      David SmithStaffSeptember 25, 2012 at 9:18 pm

      Hi Jason, it sounds like you’re already using the Post Content Template feature of the Post Body field. If so, you’re on the right track with your thinking. If you want to display the small image but link to the large image, you should be able to use same field’s merge tag but instead of specifying the size and alignment “filters” you’ll want to add the “url” filter:

      <a href='{Image:5:url}' rel="nofollow">{Image:5:small:right}</a>

  164. Use Gravity Forms to Create User-Submitted Posts (430)

    marlita hillAugust 17, 2012 at 12:12 pm

    Hi. Thank you for your post.

    I run a blog that is growing quickly and i am new to this. every month i send out questions for people to answer and then i post their answers on my blog. but i have to format everyone of them individually and it is becoming too much.I want something where the users can submit their answers. but i want the questions to be displayed in the post in blockquotes and the answer right under them like on here: http://goo.gl/KzcNNto get it to look like that i just put <blockquote> around the questions and then put the answer right under it.could i control the look of the output with any of the plugins you described? or do you know of any that would allow me to do that?thank you for your help.

    Reply

  165. Use Gravity Forms to Create User-Submitted Posts (432)

    MarciaAugust 16, 2012 at 8:47 pm

    I just purchased Gravity Forms to use on a user-generated content site I’m developing. So far, I have been enormously frustrated by the lack of (useful and grounded) documentation offered on the GF site. Therefore, I’m really grateful that you put this tutorial together. It demystifies the form to post process at least enough to brush myself off and try again. Of cours, my application varies a fair amount from your example, so I’ll still be scratching my head trying to figure it all out.

    Thank you.

    Reply

  166. Use Gravity Forms to Create User-Submitted Posts (435)

    Ray VellestJuly 22, 2012 at 6:16 pm

    Very helpful, thanks for taking the time to put this tutorial together, but I wonder if Gravity Forms also allows the upload other types of files, let’s say a zip file. I’m trying to accomplish that and automatically add a download link in the post content area for download. Any experience with that?

    Reply

    1. Use Gravity Forms to Create User-Submitted Posts (436)

      David SmithStaffJuly 23, 2012 at 10:08 am

      Hi Ray, Gravity Forms supports uploading other field types via the “File Upload” field. In your case, since you want this file to be related to the post that is created, you would use the “Custom Field” field under the “Post Fields” section and set the field type of this field to “File Upload”. You can then specify a custom field key in which a URL to the uploaded file would be stored. To display this custom field on the post template, you can provide additional instruction here: http://codex.wordpress.org/Custom_Fields

  167. Use Gravity Forms to Create User-Submitted Posts (437)

    MaazJuly 22, 2012 at 5:30 am

    How would I go about displaying the post on another post.

    What I am pretty much trying to do is let users create a post on an existing post page. Whichever post page that they created the post from thats where I want the post to show.

    It’s almost like looking at a user’s profile. You post the message on the user’s profile, and the message pops up on the same page.

    I want to do something similar. I want users to be able to create a post on whatever post page, and then when they create it, that post will now display in the post page that they created their post in. I hope this is somehow making sense. If you know how to do it, it would be awesome.

    I’ve been try to use ParentID, and I was able to prepopulate the parentID into their post. So whatever post page they were on, I am able to attach that ID into their post. Now its simply a matter of displaying it. How would I go about doing that?

    Reply

  168. Use Gravity Forms to Create User-Submitted Posts (438)

    Thiago PaulinoJune 5, 2012 at 9:40 am

    Hey David! Thanks a lot for the post man, just solved a huge issue for me ;)

    Reply

Leave a Reply

Use Gravity Forms to Create User-Submitted Posts (2024)

FAQs

Use Gravity Forms to Create User-Submitted Posts? ›

Add a file upload field to your form. Note: WordPress allows only one featured image for a post, so it will not work correctly to allow multiple uploads in this field. Go into your form's Settings → Actions & Notifications and open your 'Create Post' Action. Click the 'Add' button on the 'Custom Fields' row.

How to create new WordPress posts from a form? ›

Add a file upload field to your form. Note: WordPress allows only one featured image for a post, so it will not work correctly to allow multiple uploads in this field. Go into your form's Settings → Actions & Notifications and open your 'Create Post' Action. Click the 'Add' button on the 'Custom Fields' row.

How do I update my posts with Gravity Forms? ›

How to use:
  1. In form settings open “Post Update”
  2. Press “Add New”
  3. (Required) Configure “Post ID” (number, insert merge tag or current page/post id)
  4. Configure Post Settings (Author ID, Post Status)
  5. Configure Tags & Categories & Custom Taxonomies.
  6. Configure Post Title and Content manually or insert merge tags.

What is the difference between typeform and gravity form? ›

Gravity Forms is a native WordPress plugin, which means that you can manage everything from your WordPress dashboard and all of your data “lives” on your own server. Typeform is a software-as-a-service tool (SaaS), which means you'll manage everything from Typeform's website and your data “lives” on Typeform's servers.

What does let people submit posts mean? ›

The submit feature allows other users to submit posts to your blog(s). Whether or not you publish them is up to you. Enabling submissions. To enable post submissions on the web: Click “Settings” on the left navigation bar, then choose the blog you'd like to update on the right side of the page.

What does "user submitted" mean? ›

Related Definitions

User Submitted Data means any content, information or data that the Service User may upload, post, share or store in or to the Services.

How do I create a submission form in WordPress? ›

  1. Step 1: Install a WordPress form plugin. Installing and activating a great WordPress form builder plugin is the first step. ...
  2. Step 2: Create a form. Now that you've installed your new contact form plugin, it's time to create a new form. ...
  3. Step 3: Add form fields. ...
  4. Step 4: Publish the created form.
Mar 4, 2024

How do you add a form post in WordPress? ›

  1. Step 1: Create Your WordPress Form. The first thing you'll need to do is install and activate the WPForms plugin. ...
  2. Step 2: Configure Your Form Settings. Once your contact form looks the way you want it to, click the Settings tab in the Form Editor. ...
  3. Step 3: Add Your Form to Your WordPress Post.
Jun 24, 2022

How do I use Gravity Forms in WordPress? ›

How to Use Gravity Forms
  1. Download Gravity Forms.
  2. Upload the Gravity Forms plugin to WordPress.
  3. Install and activate the plugin.
  4. Add the license key.
  5. Configure general plugin settings.
  6. Create a form.
  7. Add the form to your site.
Mar 10, 2022

How do I upload Gravity Forms to WordPress? ›

Using FTP
  1. First, download Gravity Forms. ...
  2. As you are installing via FTP, you will need to unpack the zip file that you downloaded.
  3. Next, access your WordPress site via FTP and navigate to the wp_content/plugins directory. ...
  4. Once fully uploaded, access your WordPress admin dashboard and click on Plugins.
Jan 17, 2024

How do you make Gravity Forms look good? ›

To style a Gravity Form, you need to apply some simple CSS to the elements of the form. There are several ways you can add custom CSS to your site but the easiest is to go to Appearance > Customize > Additional CSS and add the code there. The first thing you need to do is decide which elements you want to style.

How do I edit a submitted form in Gravity Forms? ›

The best and easiest way to edit existing entries in Gravity Forms is by using the GravityEdit add-on (it's 340% faster than regular editing!). If you need to edit entries en masse, this is by far the quickest way to do it. Using GravityEdit, you can update entries without having to click “Edit” on each one.

Is Gravity Forms free or paid? ›

Gravity Forms only comes in a premium version, while some other popular form plugins have free versions that are available at WordPress.org.

What are the benefits of Gravity Forms? ›

To recap, some of the main benefits of choosing Gravity Forms are as follows:
  • An easy-to-use visual, drag-and-drop form builder interface.
  • Powerful built-in features such as conditional logic, multi-page forms, calculations, dynamic field population, and more.
Jan 3, 2024

How do I use posts in WordPress? ›

How to Add a Blog Post in WordPress
  1. To access your WordPress Dashboard, you first need to log in.
  2. Go to Posts on the left side on the navigation menu.
  3. Select Add New.
  4. Use the screen provided to create your post as desired.
  5. Enter a title — Give your blog post a name.

How do I allow guest posts in WordPress? ›

To do this, click on Settings and select the General option. You should see a Membership checkbox. Simply check the box to allow users to register. Just make sure you have an anti-spam plugin in place to reduce the number of bots that try registering.

What is BuddyForms? ›

BuddyForms is a comprehensive solution for WordPress form creation and management. If you need to build post forms, registration forms, profile forms, or other content forms, BuddyForms is your go-to tool.

Top Articles
Latest Posts
Article information

Author: Amb. Frankie Simonis

Last Updated:

Views: 5674

Rating: 4.6 / 5 (56 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Amb. Frankie Simonis

Birthday: 1998-02-19

Address: 64841 Delmar Isle, North Wiley, OR 74073

Phone: +17844167847676

Job: Forward IT Agent

Hobby: LARPing, Kitesurfing, Sewing, Digital arts, Sand art, Gardening, Dance

Introduction: My name is Amb. Frankie Simonis, I am a hilarious, enchanting, energetic, cooperative, innocent, cute, joyous person who loves writing and wants to share my knowledge and understanding with you.