Form Select Box with state/country

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
harvillo
 
 
Posts: 40
Joined: Thu Apr 18, 2019 8:26 pm

Form Select Box with state/country

Post by harvillo »

Any plugins for a form field with a state or country lists?
User avatar
Pablo
 
Posts: 22613
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form Select Box with state/country

Post by Pablo »

You can use the built-in combobox for this.
Click Import->predefined values to import a list of states or countries.
harvillo
 
 
Posts: 40
Joined: Thu Apr 18, 2019 8:26 pm

Re: Form Select Box with state/country

Post by harvillo »

Thank you,sir!
User avatar
cadtec
 
 
Posts: 34
Joined: Sat Oct 06, 2012 3:12 pm
Location: Switzerland
Contact:

Re: Form Select Box with state/country

Post by cadtec »

Hello

Is there a setting to pre-select the country in which the visitor is located in the list?

Greetings,
André
User avatar
BaconFries
 
 
Posts: 5690
Joined: Thu Aug 16, 2007 7:32 pm

Re: Form Select Box with state/country

Post by BaconFries »

This would need a custom script such as the following:
https://stackoverflow.com/questions/211 ... -down-list
Example: when I visit the url it shows that my location is United Kingdom. I also tried with a VPN using Switzerland which I believe is your location and it showed correctly.
https://jsfiddle.net/6ythcL5j/
User avatar
cadtec
 
 
Posts: 34
Joined: Sat Oct 06, 2012 3:12 pm
Location: Switzerland
Contact:

Re: Form Select Box with state/country

Post by cadtec »

Thank you very much for the help.
This works very well :-)
Post Reply