Title: Field Validation
Last modified: February 7, 2017

---

# Field Validation

 *  [christieprimier](https://wordpress.org/support/users/christieprimier/)
 * (@christieprimier)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/field-validation-9/)
 * So here’s my question. I’m still researching the best answer.
    If enter a name
   and date of birth in the form and click submit. I want that name and date to 
   go against another table and if there is a match populate a field in the first
   table. So here’s the word version. If the player name and Date of birth from 
   the team_form match the player name and date of birth in the player_form then
   I want the team_form.playerclass to get the value from the player_form.playerclass
 * Does that make sense ? and if so is it possible?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/field-validation-9/#post-8769922)
 * Short answer: no. CFDB has to rely on the front-end form plugin to provide a 
   hook for validation CF7 does, but you can only validate single fields independently.
   You can’t evaluation name & DoB together. An example of a singe-field validation
   is shown here: [https://cfdbplugin.com/?page_id=904](https://cfdbplugin.com/?page_id=904)
   but that isn’t going to satisfy your requirement.

Viewing 1 replies (of 1 total)

The topic ‘Field Validation’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/field-validation-9/#post-8769922)
 * Status: not resolved