• Resolved rdm100

    (@rdm100)


    Hi,

    Your website support directed me here for this question. Would it be possible to have the functionality below using Forminator along with advanced custom fields and how do you do it if it can be done?

    1. The user goes to a front-end page and fills in a form with the fields needed.
    2. Website staff receive the email notification of a new entry and approve/reject it.
    a. If rejected, an email goes to the author with a message to get in touch with website staff.
    b. If approved, the page is published.

    Thanks,
    Rob

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

    (@wpmudev-support8)

    Hi @rdm100

    I hope you’re well today!

    It is partially possible:

    You can create a form with a “Post Data” field on it. This is a special field that creates post on site upon form submission.

    Then in this field settings you can select post type (it may be regular “post” or “page” or any existing custom post type). You can also set it to save some data to your custom fields.

    Custom fields can be just generic (as in WordPress standard) custom fields or they can be created by ACF or other similar plugin but please note that form will only send simple raw-text data to them. If a given custom field requires some more complex/specific/custom data format, Forminator will not send data in such format by default. It is possible to override that in some cases (especially for ACF) but requires additional custom code.

    If it comes to post itself, you would need to set post status in “Post Data” field to either “Draft” or to “Pending Review”. This way post would be created and added but not published until it is manually published/reviewed by Editor/Admin.

    You can find more about “Post Data” field here:
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#post-data-field

    If it comes to notifications, Forminator does not and cannot monitor post status. It can send notifications right after the form is submitted and you can decide where those notifications should go. For example: you can set notification to go only to specific users (e.g. your website staff) and not send it to the user who submitted the form.

    However, notification after the post has been approved/published would need to be send separately either manually or using some 3rd-party plugin like e.g. this free one:

    https://ww.wp.xz.cn/plugins/publish-post-email-notification/

    Best regards,
    Adam

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @rdm100 ,

    We haven’t heard from you for some time now, so it looks like Adam’s response helped to solve your problem.

    Feel free to re-open this topic if needed.

    Kind regards
    Kasia

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Make post with form submission’ is closed to new replies.