I am creating a webform on Drupal 7.22 and need to create a selection list of countries for users. However I am facing the problem of inserting all the countries of the world. Currently it seems the limit for the select list is 100, and I have searched the forums here to find a solution to this, but so far the suggestions given have not worked. I still have this limit issue.

Can you please address this issue as I believe many would need to build forms with country selections, and the number of countries in this world are already well over 100. There are also other cases where options will exceed 100.

The message I receive is this: "The Options field supports a maximum of 100 options. Please reduce the number of options."

If there is a way around this please outline which file I can work on or to edit, and the code specifically I need to modify. I am not a programmer, hence appreciate some clear instructions around this.

Thanks in advance.

Comments

pamdevamp’s picture

I am currently running this on a localhost, using MAMP.

quicksketch’s picture

Status: Active » Closed (duplicate)
pamdevamp’s picture

Hi there,
I had a look at the thread you provided but there doesn't seem to be a detailed method outlined, unless it absolutely escapes me. Moreover I have tried to change the limit to my best knowledge (not a programmer here) based on the file suggested, and it still doesn't work. I can't be completely sure if I made the correct changes either.

Thanks.

pamdevamp’s picture

Desperately need help on this, I need to have all the world's countries listed in the Select List option under options element. Any help is much appreciated!