I put a space in the value for ftCommon so that I wouldn't get any common countries listed or the whole list displayed as common countries as well as in all countries.
The problem I'm having is that when I save, say, Kenya as the country, when I go to edit the content type it selects Afghanistan (the first entry). What's wrong? I've used this type on other projects and it worked fine up till now.
Environment
None
Activity
Show:
Blair McKenzie
October 22, 2009 at 11:50 PM
The formtool wasn't adding the 'selected' attribute when a value was already set. This has been corrected.
from http://www.nabble.com/Country-data-type-error-td25910427s621.html
I've run into a problem with a custom type using Oracle and FarCry 5.2.2. The field is defined as:
<cfproperty ftSeq="1" ftWizardStep="General Details" ftFieldSet="General Details" name="country" type="nstring" hint="Mission Country" required="yes"
default="" ftValidation="required" ftLabel="Mission Country" ftType="country" ftCommon=" " ftCountries="" ftValue="code" />
I put a space in the value for ftCommon so that I wouldn't get any common countries listed or the whole list displayed as common countries as well as in all countries.
The problem I'm having is that when I save, say, Kenya as the country, when I go to edit the content type it selects Afghanistan (the first entry). What's wrong? I've used this type on other projects and it worked fine up till now.