Address

  The selected file /tmp/filefn2jeT could not be uploaded, because the destination sites/default/files/css/css_a91cd284035e73ba34d112bfed2f5a16.css is not properly configured.
  The selected file /tmp/fileqwCDJu could not be uploaded, because the destination sites/default/files/css/css_de1aa27776f1462d2b0d83a80ce4b92d.css is not properly configured.

Address

The address Field is used for storing an address. It can store three street address lines, a city, a state (or province/region), a postal code, and a country.

Settings

Parts

The address Field has eight parts:

  • Street
  • Street 2
  • Street 3
  • City
  • State
  • Postal Code
  • Country
  • Address Type

Output Formats

The address Field has ten different output formats:

  • Full Field - This output format returns the Street portion of the address, then a newline character, then Street 2 of the Address, then a newline character, then Street 3 of the Address, then a newline character, then City, comma, space, State, space, Zip Code.
  • WX Stored Value - This output format returns the internally stored XML for the address Field. Use this format when saving the entire address from one Field to another address Field, or when setting a default value for an address Field. Whenever this format is used, the “Return results as” setting must be set to “HTML.”
  • Address Type - this output format returns 'International' if the address is of the International format, and 'United States' if the address is of the United States format.
  • Street - This output format returns the Street part of the address Field.
  • Street 2 - This output format returns the Street 2 part of the address Field.
  • Street 3 - This output format returns the Street 3 part of the address Field.
  • City - This output format returns the City part of the address Field.
  • State - This output format returns the State part of the address Field.
  • Zip Code - This output format returns the Zip Code part of the address Field.
  • Country - This output format returns the Country part of the address Field.

Filters

The address field has 8 filter types. To learn more about filter types, see Filters. The filters are:

  • Entire Field - This filter only allows items where the entire address Field passes through the chosen one of the standard four item-type filters.
  • Street - This filter only allows Items where the Street part of the address Field passes through the chosen one of the standard eight text-type filters.
  • Street 2 - This filter only allows Items where the Street 2 part of the address Field passes through the chosen one of the standard eight text-type filters.
  • Street 3 - This filter only allows items where the Street 3 part of the address Field passes through the chosen one of the standard eight text-type filters.
  • City - This filter only allows Items where the City part of the address Field passes through the chosen one of the standard eight text-type filters.
  • State - This filter only allows Items where the State part of the address Field passes through the chosen one of the standard eight text-type filters.
  • Zip Code - This filter only allows Items where the Zip Code part of the address Field passes through the chosen one of the standard eight number-type filters.
  • Country - This filter only allows Items where the Country part of the address Field passes through the chosen one of the standard eight text-type filters.

Defaulting an Address Field

It is possible to set a default value for an address Field, although because it is a multi-part Field, creating this functionality requires special settings. To set a default value for an address:

  • Go to the “Values and Auditing” tab of the Block Editor for the address Field and click on the “Default Value in Add Mode” expression builder map.
  • Use the Query Builder to choose the address you wish to use as a default, and click on the Expression Builder tab.
  • Change the output format to “WX Stored Value” and use the adjacent green arrow to input the variable into the Expression Box.
  • Change the “Return Results as” drop-down box to HTML, and save the expression.
fields/address.txt · Last modified: 2016/09/14 18:19 (external edit)
Copyright WorkXpress, 2024