FormField
|
+--DropDownField
|
+--StateField
public class StateField
extends DropDownField
Field Summary | |
---|---|
mixed | An array of full state names. |
mixed | An array of abrreviated state names where the indicies correspond to the indicies of ENUM_STATES. |
Fields inherited from FORMfields.fields.DropDownField | |
---|---|
OR_STRING_MAX_SIZE, blankString, fieldEnabled, height, includeNewChoice, newChoice, options, subFieldsCannotBeEmpty, values |
Fields inherited from FORMfields.fields.FormField | |
---|---|
autoPropagate, data, disableEnterHandler, displayValuesOnNewLine, editable, enabled, endingString, enterTabHandler, enterTabs, error, extraHtml, fieldBelowLabel, formError, help, hidden, htmlify, id, isData, label, labelForId, multiValues, name, required, subFieldDisplayValueSeparator, subFieldSeparator, subFieldValueSeparator, subFields, subFieldsCannotBeEmpty, trimWhitespace, validators, value, valueIsHtml |
Constructor Summary | |
---|---|
StateField(string name, string label, int required, string blankString) Creates a new StateField. |
|
__construct(string name, string label, int required, string blankString) Creates a new StateField. |
Methods inherited from FORMfields.fields.DropDownField | |
---|---|
getEditableFieldTag, getParameter, setValue |
public mixed $ENUM_STATES = array("Alabama"
An array of full state names.
public mixed $ENUM_STATE_ABBREVS = array("AL"
An array of abrreviated state names where the indicies correspond to the indicies of ENUM_STATES.
public StateField(string name, string label, int required, string blankString)
Creates a new StateField.
StateField a drop down list of U.S. states.