What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How do we set default country to US on Braintree payment tool?

    Asked by akt1 on February 01, 2016 at 04:01 PM

    I am using the Braintree Payment tool, and require card holders address verification how do I default the country setting to the US

    Page URL:

  • Profile Image

    Answered by victor on February 01, 2016 at 10:40 PM

    if I understand you correctly, you would like to add an address field and make the default address setting to the US.

    You can add the address fields from the properties section. You may also add custom fields for you products if you wish

    I have review all the setting and did not see one where you can place the default country to US. I will try to search again, just in case I overlook it. If I find it I will let you know.


  • Profile Image

    Answered by akt1 on February 01, 2016 at 11:17 PM

    I think it will need custom code

  • Profile Image
    JotForm Support

    Answered by Chriistian on February 02, 2016 at 04:11 AM

    I believe that is not possible with the payment integration. A workaround I can suggest is to add an address map locator widget to verify the address of the user in your form.

  • Profile Image

    Answered by akt1 on February 02, 2016 at 01:19 PM

    The Jotform standard address widget allows a default country it must be possible in the payment tool
    to default the country to the USA

  • Profile Image

    Answered by Ben on February 02, 2016 at 04:04 PM

    Unfortunately no, it would not be possible, but based on what you have mentioned so far it seems to me that it is not only that you wish to have it default to US but to also only accept payments from US.

    If that is so a CSS workaround could be applied.

    Basically the form would look like this: https://form.jotform.com/60326530967963

    They would only see US. Now all that you need is to make the payment tool on your form required. Once it is as such, they would need to fill out all the details.

  • Profile Image

    Answered by akt1 on February 03, 2016 at 08:24 PM

    Please give me the code it would help

    The standard address widget has this default feature, why not the payment tool

  • Profile Image
    JotForm Support

    Answered by Chriistian on February 03, 2016 at 09:47 PM

    This is the css that you can inject to your form to only accept payments from US:

    #input_23_country > option {

    display: none;


    #input_23_country > option[value="United States"] {

    display: block;


    You can do so by following this guide: How to Inject Custom CSS Codes