• Resolved peterjrozek

    (@peterjrozek)


    Hello,

    We are testing State and Country picklists and find that this blocks the creation of leads. The workaround, I believe, should be to pass the “text only” values to the lead and not State_Code. But, I’m not sure how to do this. We are already using State vs. State_Code in the form. Is there something else that we need to do?

    P.s. Love the plugin and will make a donation. I hope others will do the same.

    Thanks,

    Peter

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    Yes, invalid state/country combos can cause lead generation to fail.

    So your current options are:

    1. Only allow US States and force the country to US (either as the default country at Salesforce or via a hidden field).

    2. Attempt to show only valid state/country choices via some Javascript — this is not presently supported very well in the plugin.

    3. Store those values in custom fields instead and transfer those to the real fields after the lead has been captured.

    Thread Starter peterjrozek

    (@peterjrozek)

    Thanks Nick. I’ll probably leave them off for now. But if I work out an easy solution I’ll come back here and post my approach.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using Salesforce State and Country Picklists’ is closed to new replies.