Announcement

Collapse
No announcement yet.

Passing State valeus to Salesforce

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Passing State valeus to Salesforce

    We have been entering mailing addresses into Salesforce with a standard "USA" when referring to United States of America, and 2 letter codes for the states.

    I'm creating a FaaS form on our website for donations. It uses an SSI to add the code for states and countries. The SSI file includes all the states (and another file for countries)
    ex: <option value="North Carolina">North Carolina</option>

    Obviously, the transaction is going to go through C&P before it goes into SF. If I want the record in Salesforce to have the 2 letter code recorded for the state and "USA" used when referring to United States of America, how should I modify the text in my SSI so as not to cause issues when going through C&P?

    1. ex: <option value="North Carolina">NC</option>
    2. ex: <option value="NC">North Carolina</option> OR
    3. ex: <option value="NC">NC</option>


    thanks, Amanda

  • #2
    Good day!

    State may be passed on as any text you want. It is only the country code that our system is sensitive to. State is pure text and should work with any text you pass. So:

    1. ex: <option value="North Carolina">NC</option>
    2. ex: <option value="NC">North Carolina</option> OR
    3. ex: <option value="NC">NC</option>


    In example 2 the end user sees "North Carolina" but the program posts "NC" to Salesforce.
    In example 3 the end user sees "NC" and the program posts "NC" to Salesforce

    As far as the API is concerned examples 2 and 3 are the same and both should work.
    Regards,
    Click & Pledge Support Department

    Join us @ the educational webinars: https://clickandpledge.com/webinars/
    Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/

    Comment


    • #3
      thanks! good to know

      Comment


      • #4
        State &amp; Country picklists enabled in Salesforce

        If the State & Country picklists are enabled in Salesforce, how can state be made into a picklist for attendees and registrants so there isn't an error as shown in the attached image?

        Thanks!
        Karen
        Attached Files

        Comment

        Working...
        X