<div dir="ltr">Good contribution Alan !</div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-19 6:18 GMT-03:00 Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 19/09/16 09:44, socialboostdk wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi there,<br>
<br>
I have a client who wants the country-field to be a picklist instead of<br>
freetext. This actually makes very good sense to me, as "Disneyland"<br>
will never be a valid country, and spelling of real contries should<br>
never differ in order to search by country, etc.<br>
<br>
Are there any issues with just de-activating current country field and<br>
add picklist?<br>
<br>
I'm thinking "yes" beacuse the functions to copy address data etc - but<br>
any ida on what to do?<br>
</blockquote>
<br></span>
We've done this for a few customers... It is a royal PITA because of the various different tables, columnnames and ways addresses are stored. What that means is you will need to create several completely separate Picklists to store the Country values.<br>
<br>
Here's a script that might help you to do what you want though ;-)<br>
<br>
<a href="http://paste.ubuntu.com/23202014/" rel="noreferrer" target="_blank">http://paste.ubuntu.com/232020<wbr>14/</a><br>
<br>
Cheers<br>
<br>
Al<br>
<br>
PS: The copy address function works fine IIRC.<br>
<br>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>