Title: Logic Sending Incorrectly
Last modified: October 27, 2020

---

# Logic Sending Incorrectly

 *  Resolved [ktungetdesigns](https://wordpress.org/support/users/ktungetdesigns/)
 * (@ktungetdesigns)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/logic-sending-incorrectly/)
 * Hello,
 * We have a pretty (well to me it seems) complex Contact Form, we have it sending
   information to our CRM system (Lasso). Depending on which answer the client fills
   in will determine who of our Sales people gets the email.
 * (Ex: If they choose Chicagoland – Hampshire, it would go to Source1. If they 
   choose Chicagoland – DeKalb, it would go to Source2)
 * In Lasso “Source1” or “Source2” determines which sales person gets the email 
   so, I put this in the form to identify that:
 * [group JDulaney-BGibson][hidden registrationPageIdentifier “Source1”][/group]
   [
   group MSouthwood-MTrees][hidden registrationPageIdentifier “Source2”][/group]
 * However, no matter what i choose, the information is always going to Source 2.
 * The logic worked for like three test submissions, but has then failed since and
   only goes to Source 2.
 * Any ideas?
 * Password for the page in question is “Silver”.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flogic-sending-incorrectly%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/logic-sending-incorrectly/#post-13587830)
 * You have 2 fields both named `registrationPageIdentifier`
 * Please see [https://conditional-fields-cf7.bdwm.be/docs/troubleshooting/all-field-names-should-be-unique/](https://conditional-fields-cf7.bdwm.be/docs/troubleshooting/all-field-names-should-be-unique/)
 *  Thread Starter [ktungetdesigns](https://wordpress.org/support/users/ktungetdesigns/)
 * (@ktungetdesigns)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/logic-sending-incorrectly/#post-13587934)
 * Okay so now if i do it this way (add say “2” to the field name) it does not work,
   now it only goes to Source 1
 * [group JDulaney-BGibson][hidden registrationPageIdentifier “Source1”][/group]
   [
   group MSouthwood-MTrees][hidden registrationPageIdentifier2 “Source2”][/group]
 * Thoughts?
    -  This reply was modified 5 years, 7 months ago by [ktungetdesigns](https://wordpress.org/support/users/ktungetdesigns/).
 *  Thread Starter [ktungetdesigns](https://wordpress.org/support/users/ktungetdesigns/)
 * (@ktungetdesigns)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/logic-sending-incorrectly/#post-13587947)
 * I also have the pro version, so should i be able to use the repeater fields?
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/logic-sending-incorrectly/#post-13587972)
 * No, it’s not possible for now. This is a great use case though. I’ve added it
   as a reference to a related issue. [https://github.com/pwkip/contact-form-7-conditional-fields/issues/65](https://github.com/pwkip/contact-form-7-conditional-fields/issues/65)
   
   Once this gets solved it will be possible. I don’t have a time frame yet though,
   so I’m afraid you’ll need to hire a developer for now.
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/logic-sending-incorrectly/#post-13588005)
 * Question: why don’t you just send the value of the ProjectID to your CRM to determine
   the source?
 *  Thread Starter [ktungetdesigns](https://wordpress.org/support/users/ktungetdesigns/)
 * (@ktungetdesigns)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/logic-sending-incorrectly/#post-13588013)
 * How do you mean?
 *  Thread Starter [ktungetdesigns](https://wordpress.org/support/users/ktungetdesigns/)
 * (@ktungetdesigns)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/logic-sending-incorrectly/#post-13588030)
 * If you mean Project ID: Chicagoland or Quad Cities, its because within Chicagoland
   and Quad Cities there are two sales persons, and it is then based on which community
   the client chooses which determines the sales person.
 * Example:
    Chicagoland Communities A, B, D = Source 1 (Chicagoland Sales Person
   1) Communities C, E, F = Source 2 (Chicagoland Sales Person 2)
 * Quad Cities:
    Community A = Source 1 (Quad Cities Sales Person 1) Community B,
   C, D, E = Source 2 (Quad Cities Sales Person 2)
 * In total we have four sales persons, two for each location. In lasso we have 
   two projects, Chicagoland and Quad Cities.
 * If you have another idea on how to trigger this I’m definitely open to it.
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/logic-sending-incorrectly/#post-13615586)
 * I think for now you would need to write some javascript code that will update
   the (single) hidden field value. At this stage the plugin will not be of any 
   help to you.

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

The topic ‘Logic Sending Incorrectly’ is closed to new replies.

 * ![](https://ps.w.org/cf7-conditional-fields/assets/icon-256x256.png?rev=2072595)
 * [Conditional Fields for Contact Form 7](https://wordpress.org/plugins/cf7-conditional-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-conditional-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-conditional-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-conditional-fields/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/logic-sending-incorrectly/#post-13615586)
 * Status: resolved