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

Name field on Post forms

  1. Is there a way within Gravity Forms to use the name field in a post form to populate the author field of the post submission? Or is the workaround in this forum post, http://www.gravityhelp.com/forums/topic/user-created-post, still the way to go.

    Thanks

    Posted 6 years ago on Wednesday February 6, 2013 | Permalink
  2. The advice Carl gives there is still true. If you are not creating a user for the person submitting the form, then you can't set the author name to their name, since the post author needs to be a registered user. You can set a default editor in the form builder, then in your template, display the name which was submitted the form in the area where the post author would normally be displayed. It's a bit of a hack, but it will work if you don't want to register the user.

    Posted 6 years ago on Thursday February 7, 2013 | Permalink
  3. I am still working on this issue. While I believe I understand the concept of what needs to be done, can someone add more details about exactly how I would achieve this? Is there a way to know that data comes from a submitted gravity form while in a template? Any pseudo code would be greatly appreciated!

    Posted 6 years ago on Monday March 18, 2013 | Permalink
  4. If you submit this example form:
    http://gravity.chrishajer.com/embed-a-google-map/

    You will be creating a post, and the name you submit will be used in the post. It is not in the place of the post author, because we did not log the user in. So, we have their name, but it's not a WordPress username. My suggestion would be to use a custom post template and remove the functionality to output the author name, and in the place, echo the name which was submitted via Gravity Form.

    Do you have any of this online so we can see the progress you've made so far?

    Posted 6 years ago on Tuesday March 19, 2013 | Permalink
  5. A visitor would click a link that takes them to the following form:
    http://blogs.tennessean.com/weare/submission-form-page/

    After they submit the form, their submission is displayed here:
    http://blogs.tennessean.com/weare/

    The author of the form is:
    Mark Wood

    But I'm looking to have the form display the name of the user who submitted the form. There is a form field in the form to capture the the user's name.

    Posted 6 years ago on Wednesday March 20, 2013 | Permalink
  6. Following up to see if there is any advice out there about how to achieve a solution for my issue.

    Thanks in advance!

    Posted 6 years ago on Wednesday March 27, 2013 | Permalink
  7. So this page is a blog page, or a list of all posts which were created by form submissions?

    http://blogs.tennessean.com/weare/

    It's important for us to know how you are creating that page so we can provide you with a solution to display the captured data.

    Posted 6 years ago on Sunday March 31, 2013 | Permalink
  8. Yes, this is a list posts that were created by form submission.

    Posted 6 years ago on Sunday March 31, 2013 | Permalink
  9. OK, if each one of those is a post, you can modify your post template to display a custom field. You can store the person's name who submitted the form, in a custom field attached to the post, and then display that in your template. I posted something similar earlier today.

    http://www.gravityhelp.com/forums/topic/after-submission-action-hook#post-191881

    Posted 6 years ago on Monday April 1, 2013 | Permalink
  10. That worked perfect! Thank you very much!!

    Posted 6 years ago on Tuesday April 2, 2013 | Permalink
  11. You're welcome. Thanks for the update.

    Posted 6 years ago on Tuesday April 2, 2013 | Permalink

This topic has been resolved and has been closed to new replies.