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.

creating and redirecting to published post after form submission

  1. Hi, I want the visitor to be directed to a published post right after submitting a form.

    The post shows the user-submitted data. The title of the post should include the user's name.

    I understand that I need to use "post fields" for this. I suppose, for setting the title the way I want it, I take the "post title" field, and under "advanced" set the visibility to "admin" only, and check "allow field to be populated dynamically."

    However, I'm unclear on this: What do I specify as the parameter name for autopopulating the field? I basically want it to be the posters name plus some other text. The form farther up includes a single line text standard field asking for the poster's name. Its field ID is 4. So I suppose that there's a way to use that field ID # to prepopulate the invisible title post field?

    Thank you for clarifying this.

    David

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  2. Are these users going to have WP access to your site by chance, or need to be logged in to post?

    In terms of directing to the post, see if this thread helps:
    http://www.gravityhelp.com/forums/topic/redirected-to-page-create-after-form-submission-post-features

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  3. Hi Rob, thanks for your reply. The users will not have WP access. They'll be "normal" visitors.

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  4. Check the "Create Content Template" option on the Title field and then you can use Merge Tags there in combination with static text so you can use your Name field from the form.

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  5. Thank you. Then I don't need to use "allow field to be populated dynamically" under admin, right? But will still set the visibility of the field to Admin only?

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  6. Correct, you would not need to allow the field to be populated dynamically. Try out the admin only visibility piece and see what happens there. I have not had to test a Title field to be admin only yet, but it should use it for the post.

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  7. Great. I think it's working out wonderfully.

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  8. Right on, glad to help out!

    Posted 12 years ago on Friday April 20, 2012 | Permalink