State

State

Provides a dropdown selection input containing states for Australia, New Zealand, Netherlands, Norway, Deutschland (Germany), and Belgium, and functionality for filtering states by country.

Released in FarCry 5.1

Please submit state lists (with associated ISO codes) for other countries as improvements in the bug tracker

Attribute

Description

Value

ftCountries

A list of countries names or codes from those supported by the formtool. Restricts the states shown in the UI.

Defaults to all

ftValue

The property to use as the field value. Code corresponds to the three letter ISO code.

code, fullcode, name (default = name)

ftWatch

Adds AJAX functionality to the UI which dynamically filters the list based on the value of the watched property e.g. ftWatch="country"

none

Sample Usage

<cfproperty
  ftSeq="25"
  ftfieldset="Postal Address"
  ftWizardStep="Contact Details"
  name="postalState"
  type="string"
  hint=""
  required="no"
  default=""
  ftlabel="State"
  ftType="state"
  ftValue="code"
  ftWatch="postalCountry" />