Suggestion to edit code from Country dropdown

  • Profile Image
    GAPTAOnline
    Asked 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
    Welvin
    Answered on July 04, 2014 at 11:40 AM

    Hi,

    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

    Thanks