Title: Skip certain forms from saving data to database
Last modified: July 25, 2018

---

# Skip certain forms from saving data to database

 *  [ggPixel](https://wordpress.org/support/users/ggpixel/)
 * (@ggpixel)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/skip-certain-forms-from-saving-data-to-database/)
 * Hi,
 * Fantastic plugin thanx!
 * I’m using Contact Form 7 with CFDB.
 * **Versions:**
    WP: 4.9.7 CF7: 5.0.3 CFDB: 2.10.29
 * I would like to skip certain forms from saving the data to the database.
    I’m
   using the `cfdb_form_data` filter which is working 100%. The only problem is 
   I’m not sure what to return to make sure the plugin will skip saving the data.
   Currently I’m returning a false value (also tried an empty object) but it still
   saves the data. When viewing the data, there is a form called ‘Unknown’ with 
   a single column called ‘Submitted’ and value of ’01 Jan 1970′.
 * Is there another filter I’m missing or what am I doing wrong?
 * Thanks in advance for your assistance.
 * Chris

The topic ‘Skip certain forms from saving data to database’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-to-database-extension_ffffff.
   svg)
 * [Contact Form DB](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-to-database-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ggPixel](https://wordpress.org/support/users/ggpixel/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/skip-certain-forms-from-saving-data-to-database/)
 * Status: not resolved