mickb
(Mick B)
June 27, 2016, 2:44pm
#1
Hi All - I’m having issues with my Contact Form. I’ve added the “Select” field for the contact form and now want to install a country list option. Where do I find one and how do I add it?
Your fast and precision based help is greatly appreciated!
M
1 Like
sabanna
(Anna)
June 27, 2016, 10:51pm
#2
Hello, @mickb
There is no such function like “Install” list of countries, unfortunately. You will have to add it manually.
P.S. I think it would be a great request for Wishlist category.
samliew
(webflowexpert.com)
June 28, 2016, 1:56am
#3
Already requested here. Do post in that thread to bump it and show your support for this request.
1 Like
Phoxic
(Liam)
June 28, 2016, 2:30am
#4
You may be interested in this:
I haven’t used it, but it may be worth a look at.
mickb
(Mick B)
June 30, 2016, 5:40pm
#5
Will I manually be able to add 213 listed items?
M
sabanna
(Anna)
June 30, 2016, 5:52pm
#6
There is limitation to 100 items in the dropdown, I think.
In your case you can try this workaround from @bartekkustra
In case you ever need to have a dropdown with countries you can try a Custom Code solution I’ve been using since 2 years or so. function addCountries(whereto) { var countriesfile = "United States of America, Afghanistan, Albania, Algeria, Andorra,...
Hope it helps.
Cheers,
Anna
1 Like
mickb
(Mick B)
June 30, 2016, 5:57pm
#7
Sabana - I’m not at all a coder/developer. How would I begin to install the custom code and attach it to the SELECT field in the forms?
M
1 Like
sabanna
(Anna)
June 30, 2016, 6:09pm
#8
No problems. Just follow these steps:
Add select field to the form
Give this select field some ID (I used “country-select” ) and remove all options except first (“Select one…”)
Add this code snippet to the FOOTER Custom code area on the page settings or site settings:
6 Likes
mickb
(Mick B)
June 30, 2016, 6:57pm
#9
Sabanna - Once I follow the steps above, do I need to do anything further (save and publish site) in order to see it?
Pls advise…
M
sabanna
(Anna)
June 30, 2016, 7:09pm
#10
Yes, sorry that didn’t mention that.
You will be able to see the result (all list of countries) only on published site.
system
(system)
closed
August 27, 2016, 11:45am
#12
This topic was automatically closed after 60 days. New replies are no longer allowed.