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

    Suggestion to edit code from Country dropdown

    Asked by GAPTAOnline on July 04, 2014 at 10:31 AM
    I also got rid of the ridiculously long drop down option sets for country in the address fields and replace it with a simple function that adds the names from an array dynamically.  On a form with 12 addresses, this actually saved over 3000!!! lines of code and only added around 20 lines.  If someone were to need to customize this list by removing options or adding (why ever?) then your system could just note it on the field and pass it in as an option. (I had no need, so I didn't add this myself).
  • Profile Image
    JotForm Support

    Answered by Welvin on July 04, 2014 at 11:40 AM


    I have this thread forwarded to our developers as a feature request. If there are updates, you should know it via this thread. 

    For now, you can use the source codes method and do Search-and-Replace process. All address fields should have the same country list, you can copy it from the codes and replace with your own list. Make sure to have the same tags, example process using Sublime 2 Text Editor:

    CTRL + H for Find What and Replace With