Store and Encrypt Contact Form 7 Submissions in Database? [closed]

I have an additional security requirement (in addition to SSL) and I’m looking for a method (either a plugin or custom solution) of how to encrypt and store submissions from Contact Form 7 in the database.
For example there are plugins such as Flamingo that allow the submissions to to be stored in the DB, there are fore other form platforms such as Gravitate Encryption that encrypt the submissions in the DB.
Is there an option or method to encrypt CF7 submission data within the SQL database?

1 Answer
1

As @kero said, use a CF7 hook. I’d use the wpcf7_before_send_mail hook. Grab data from the CF7 form object’s fields, and use those values to store data.

I wrote a post to myself on how to get data from the CF7 form object here: http://securitydawg.com/changing-contact-form-7-with-the-wpcf7_before_send_mail-hook/ . You could use that to get started, just insert your code/function that reads the fields from the CF7 object and then store that data.

Good luck!

Leave a Comment