Title: Fields with Conditional Logic Not Captured
Last modified: February 3, 2017

---

# Fields with Conditional Logic Not Captured

 *  Resolved [andywt](https://wordpress.org/support/users/andywt/)
 * (@andywt)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/fields-with-conditional-logic-not-captured/)
 * I have a form that has the user enter a quantity of reservations they need (1-
   10). My gravity Form then uses that quantity to request additional information
   on 1-10 reservations. If the user specifies 2 reservations then two sets of info
   is captured by the form. The form works fine but when the data is captured by
   CFDB, none of the fields that passed the conditional test are captured in the
   CFDB. Only reservation 1 is captured.
 * Have I missed something?
    -  This topic was modified 9 years, 3 months ago by [andywt](https://wordpress.org/support/users/andywt/).

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

 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/fields-with-conditional-logic-not-captured/#post-8735416)
 * Perhaps there is a bug. I would have to set up an example like that and check
   it out.
 *  Thread Starter [andywt](https://wordpress.org/support/users/andywt/)
 * (@andywt)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/fields-with-conditional-logic-not-captured/#post-8738435)
 * Michael,
    I have turned on the Debug logs of the form and entries and can send
   them to you if that would be of help.
 *  Thread Starter [andywt](https://wordpress.org/support/users/andywt/)
 * (@andywt)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/fields-with-conditional-logic-not-captured/#post-8738775)
 * Michael, I have found the issue. As I was perusing the CFDBIntegrationGravityForms.
   php module, I stumbled on a comment “// Assumption: all inputs have diff labels”.
   Bingo! that was the issue. I was repeating the fields and was using the same 
   field name. I changed the name and everything is working fine!

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

The topic ‘Fields with Conditional Logic Not Captured’ 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/)

## Tags

 * [conditional logic](https://wordpress.org/support/topic-tag/conditional-logic/)

 * 3 replies
 * 2 participants
 * Last reply from: [andywt](https://wordpress.org/support/users/andywt/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/fields-with-conditional-logic-not-captured/#post-8738775)
 * Status: resolved