I am trying to: create a dropdown with all countries
Link to a page where the issue can be seen: Site isn't public yet
I expected to see: the full list of all the countries from the module I imported
Instead, I got: a list ended at Rwanda
I imported the module shared in this post (https://toolset.com/forums/topic/how-to-import-states-and-countries-into-selects-for-fields/). I then tried to import it into a repeatable fields group. However, when it imports it only goes as far as Rwanda.
The full list will show when the country list is not in a Repeatable Group, but when in a group it seems to cut off the last few select options. Is there a limit to the number of options that a select can have?
Hello,
I assume we are talking about this post:
https://toolset.com/forums/topic/how-to-import-states-and-countries-into-selects-for-fields/#post-244714
I have tried the file "countries_states_provinces-2014-09-17.zip" provide in above post, tested it in a fresh wordpress installation + the latest version of Toolset plugins,
Import the file with Modules manage plaugin:
Dashboard-> Toolset-> Export / Import-> Modules
t works fine, I can see all the options here:
Dashboard-> Toolset-> Custom Fields, edit field group "Countries, US States, & Canadian Province Lists"
See screenshot groups.JPG
I suggest you check these in your website:
1) You are using the latest version of Toolset plugins
2) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2019, and test again
3) Check if there is any PHP error or JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
Thanks for the response. However, you missed some of the detail of what I mentioned in my post.
I can also see all the options when I simple include the select as a custom field in a group. It is when I try to include the select in a repeatable group within a custom field group that I can't see the options after R or S. It's as if there is a limit to how many options the page can show.
Thanks for the details, but there isn't the same problem in my localhost, here are detail steps:
1) Import the file with module manage
2) Create a custom field group with a Repeatable Group,
3) in the "Repeatable Group", click button "Add New Field", click button "Choose from previously created fields", choose country, it works fine, there isn't the problem as you mentioned above: can't see the options after R or S.
Please try as I mentioned above:
https://toolset.com/forums/topic/select-field-doesnt-allow-for-a-full-list-of-countries/#post-1191795
1) You are using the latest version of Toolset plugins
2) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2019, and test again
3) Check if there is any PHP error or JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/