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.

Submission post form problem

  1. Hi, Gravity form plugin is nice plugin. I would like to resolve this problems.

    I make front end submission form with gravity form. And used Post form field.
    I tested submit post in Non-registered user. This test is succeed.
    I would like to prevent non-registered users. I want to submit form in registered users. They submits post as default post author. How to remove default post author? I want to adjust submission form author with registered user.

    How can I resolve this problem?

    Posted 12 years ago on Thursday October 4, 2012 | Permalink
  2. You can restrict access to your form by requiring that users be registered before they can see it. This setting is on the advanced tab of the form settings. Check the box which says "Require user to be logged in" then set the message that a non-logged in visitor will see instead. Screenshot: http://minus.com/lwtmUihAY1bfX

    Then, on the post fields in your form, be sure the "Use logged in user as author" box is checked.

    Does that accomplish what you need?

    Posted 12 years ago on Thursday October 4, 2012 | Permalink
  3. Thanks your advice, Chris.
    I resolve this problem. I have new questions.

    1. I checked the box which say "Require user to be logged in"and set the message "Sorry, you must be logged in to view this form". I want to adjust login form below the sorry message.

    2. I would like to make post content with submission form data. ex) http://gravity.chrishajer.com/2011/08/17/rufus/ Is t possible to make post content with gform_after_submission example and CSS? I will modify my theme function.php and css.

    Thanks.

    Posted 12 years ago on Thursday October 4, 2012 | Permalink
  4. Moved to the regular support forums.

    Posted 12 years ago on Thursday October 4, 2012 | Permalink
  5. I want to adjust login form below the sorry message.

    What do you mean by this? Is there a WordPress login form displayed beneath your message? If so, Gravity Forms has no control over that: that is default WordPress functionality.

    Regarding #2, you don't need to use gform_after_submission at all. You can create a post using the form builder. Have you already tried that?

    You can use CSS if you like to style the post, and you can use the gform_after_submission hook to modify the post, if you want to, but it's certainly not required.

    Posted 12 years ago on Thursday October 4, 2012 | Permalink