US state dropdown

IngredientformIngredients

A dropdown that allows one to pick a US state or territory and then produces the 2-letter abbreviation for it as its result.

Ingredient Family: formIngredients

Outline Display: A dropdown of US states for {{columnName}}.

Local scope

The parent slot binds these (look up the slot in the parent to see how):

  • $parentTable – The table (if any) that this form is based on
  • $formFieldsTable – A table of form fields that is built up through the sequence of form ingredients

Settings

Required

  • columnName : column of $parentTable or new (type filter: exactly text; required, non-nullable (optional or required))
    Column for US state
    Set ty only when columnName names a new column (not in $parentTable).

Optional

  • cssWidth : constant value (type: integer; required, non-nullable)
    Width between 1 and 12