jQuery-Form-Validator icon indicating copy to clipboard operation
jQuery-Form-Validator copied to clipboard

Country list

Open pocapratica opened this issue 8 years ago • 4 comments
trafficstars

Hello.

Where does the script gets the country list suggestion? Can I change this values to another kind of list?

Thanks

pocapratica avatar Oct 09 '17 21:10 pocapratica

http://www.formvalidator.net/#default-validators_suggest

victorjonsson avatar Oct 10 '17 06:10 victorjonsson

Thanks for the fast answer @victorjonsson , but I mean a big list, like an SQL base with cities and states. How can I modify the field to search and sql base exactly like it does, with autocomplete, but making an SQL search instead of the suggestions?

By the way, if the suggestion array has words with 1 char length, it does not works.

Thanks in advance. Great work you do here.

pocapratica avatar Oct 10 '17 17:10 pocapratica

that's not supported I'm afraid

victorjonsson avatar Oct 10 '17 21:10 victorjonsson

Thanks.

But where are declared the array of countries that are used in the example? I would try to change that source to my sql or my json array of cities.

pocapratica avatar Oct 11 '17 20:10 pocapratica