Support » Plugin: Forminator - Contact Form, Payment Form & Custom Form Builder » Form submission added as comment in wordpress

  • Resolved mrboulanger1985

    (@mrboulanger1985)


    Hi Forminator Team,

    We have created a form to collect reviews from clients about our service. Is there a way, e.g. via API to post these entries as a comment in WordPress (standaard feedback option WordPress)? And if so how?

    Or is there a way to show entries through a shortcode on our website. When e.g. review has 4 or 5 stars (created field with radio button) + comment of client?

    Thanks for your help.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hi @mrboulanger1985

    I hope you’re fine today!

    Forminator can’t store submissions as comments or copy/clone them to comments. There’s also no built-in shortcode tos how submissions on front-end (there’s a plan for such feature in future but I don’t have ETA).

    There are two workarounds that may work for you though:

    1. Using custom post type

    You could register a custom post type to store reviews (e.g. using Custom Post Type UI or similar free plugin) and then use Forminator’s “Create Post” type of form instead of standard form. Using such type of form you can select post type which should be used for newly created posts.

    You would, however, need also to create either custom template file or some additional code/function to display these reviews where you want them so that’s quite complex all together.

    2. Using wpData Tables integration

    Forminator can integrate with another nice plugin: wpDataTables. This plugin is then capable of fetching standard submissions’ data and can be used to display such data in form of a nice, sortable table or even some charts on front end via shortcode.

    Here’s a full guide on how to make it work:
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#wpdatatables

    Best regards,
    Adam

    Thread Starter mrboulanger1985

    (@mrboulanger1985)

    Thanks! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.