• Resolved incwise

    (@incwise)


    Hi,

    I use a contact form submissions plugin to collect data when user register for my events. Can I collect data only from specific forms or plugin collect data by default from every form submitted?

    Thanks!

    [ Don’t bump, bump deleted. ]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author jasongreen

    (@jasongreen)

    Hi

    The plugin currently collects submissions from every form in cf7. I may look into adding this new feature in later versions.

    Note you can filter the submissions by a particular contact form so this may help.

    I’m trying to do the same. The form contains sensitive data we don’t want to store on our server. I’ve attempted removing the hooks the plugin adds to CF7, but with no luck so far. Right now my only fix is to stop the submission function if the post is a certain ID, but I don’t want to edit the plugin directly for this fix and be unable to update. Any suggestions?

    Plugin Author jasongreen

    (@jasongreen)

    Hi

    I’d recommend using a remove_filter to deactivate the save depending on the contact form id. You can do this without editing the plugin.

    remove_filter(‘wpcf7_mail_components’, array(‘WPCF7Submissions’, ‘submission’), 999);

    Thread Starter incwise

    (@incwise)

    Hi Jason!

    thank you for the solution. But where I need to add this line to stop collecting data from a specific contact form.

    One thing more. If I collect data with contact form and want to send confirmation (second email) email with a contact form, then CF submissions collect this data as well? Can I turn it off somehow?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Collect data only from specific forms’ is closed to new replies.