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.

Add comment to post using 1 form field

  1. axys
    Member

    I see that you plan to work on an add-on for use GF as comment editor but I see nothing on documentation which can let me creat a post using GF and add a comment on same post using 1 text field from the same form.

    Is there any way to do it ?

    Posted 13 years ago on Wednesday November 9, 2011 | Permalink
  2. You could likely do it, create a comment on the post, using the gform_after_submission hook. That hook is processed after the entry is accepted and the post is created, so you can run whatever code you want. You'd need to use built in WordPress functionality to create the comment.

    Posted 13 years ago on Wednesday November 9, 2011 | Permalink