• Resolved ktungetdesigns

    (@ktungetdesigns)


    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 to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    You have 2 fields both named registrationPageIdentifier

    Please see https://conditional-fields-cf7.bdwm.be/docs/troubleshooting/all-field-names-should-be-unique/

    Thread Starter ktungetdesigns

    (@ktungetdesigns)

    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?

    Thread Starter ktungetdesigns

    (@ktungetdesigns)

    I also have the pro version, so should i be able to use the repeater fields?

    Plugin Author Jules Colle

    (@jules-colle)

    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
    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

    (@jules-colle)

    Question: why don’t you just send the value of the ProjectID to your CRM to determine the source?

    Thread Starter ktungetdesigns

    (@ktungetdesigns)

    How do you mean?

    Thread Starter ktungetdesigns

    (@ktungetdesigns)

    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

    (@jules-colle)

    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.