Announcement

Collapse
No announcement yet.

State Field Requirement Preventing Non-U.S. Donations

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

  • State Field Requirement Preventing Non-U.S. Donations

    How can a user submit a form without having to select an option in the 'State' Field? Many of our donors do not live in the United States. Currently, they are required to enter a state to successfully submit their form data. Can't they simply leave the state field set to 'Select State' or '_Not Available'?

    If so, can the value that's passed thru to Saleforce be null - or will it be submitted as the default value (i.e. 'Select State...')?

  • #2
    Good day!

    State is ONLY required if the country is set to US. Any other country does not require STATE and they may enter the Province.

    I will discuss passing a NULL value to Salesforce with blank STATE and will let you know of the decision.
    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
      Thank you for your help. However, when submitting a form with COUNTRY set to not US and the STATE set to "select state..." the transaction fails. If we remove the STATE select tag altogether the transaction fails.
      Is there a value we need to set the STATE field to if the COUNTRY is set to not US? What other reasons could there be for the transaction to fail when the COUNTRY is not US and the STATE field is 'select state...'?
      Is it possible to see a verbose error message/log for a bit more detail for the reason for the failure?
      thanks in advance.
      BTW: www.ashoka.org/donate
      Last edited by echung; 12-15-2011, 04:57 PM.

      Comment


      • #4
        Good day!

        We duplicated your form and tested it. Please change the following:

        <option value="NA" selected="selected">Select State</option>

        The value Select State is a filter value. If you pass NA for the field value it will work.

        Please test it and let us know the result.
        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


        • #5
          Just an added note.

          Please note that: "Select State" is not a filtered word but "Select" is a filtered word against SQL injection attacks.

          If you use "Choose State" it will work. or simply pass N/A or NA as the value.

          Hope that makes some sort of sense!
          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


          • #6
            Originally posted by Support.Department View Post
            Just an added note.

            Please note that: "Select State" is not a filtered word but "Select" is a filtered word against SQL injection attacks.

            If you use "Choose State" it will work. or simply pass N/A or NA as the value.

            Hope that makes some sort of sense!
            thank you.
            appears that "None" works as well.
            might i suggest you add this to the documentation somewhere convenient like the list of form fields.
            cheers

            Comment


            • #7
              Good idea!

              Of course it took us a while to figure out why your case is failing.. only after testing we realized the word SELECT is being caught by the fraud attempt algorithm.

              The main issue is for security reasons we can't reveal all the traps.. we have to figure out the best to help with situations like yours.
              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

              Working...
              X