Combo field - selects one of N choices.
This creates a field which will allow storing one of N possible values into the field. This field provides static choices (defined when creating the field). If you wish to get the choices from a table, see DBLLCField or DBLJSLCField.
Each possible value has a ID (key of the array) and a Text (value of the array). The ID is stored into the database, the text is displayed to the user. Both ID and Text are treated as strings.
NOTE: This field checks, if the value (ID) from the edit form matches a key in the choices array. If no, it prints out an error message. So it is not possible for user to cheat-in ID that is not in the choices.
Located in /DBLComboField.php (line 27)
DBLField | --DBLComboField
Class | Description |
---|---|
DBLLCField | This implements basic type of lookup combo field. |
Inherited from DBLField
DBLField::$addAsterixes
DBLField::$allowEmpty
DBLField::$computed
DBLField::$dbName
DBLField::$default
DBLField::$detailAttributes
DBLField::$detailPostfix
DBLField::$detailPrefix
DBLField::$editAttributes
DBLField::$editPostfix
DBLField::$editPrefix
DBLField::$filterAttributes
DBLField::$filterPostfix
DBLField::$filterPrefix
DBLField::$indexAttributes
DBLField::$indexPostfix
DBLField::$indexPrefix
DBLField::$lookupField
DBLField::$name
DBLField::$needsMultipart
DBLField::$noOrderByTitle
DBLField::$readOnly
DBLField::$referenceURL
DBLField::$titleHTML
DBLField::$titleTxt
DBLField::$widgetAttributes
Constructor.
Inherited From DBLField
DBLField::DBLField()
DBLField::acceptFilterValue()
DBLField::acceptValue()
DBLField::addCondition()
DBLField::checkValue()
DBLField::formatDetail()
DBLField::formatEdit()
DBLField::formatFilter()
DBLField::formatIndex()
DBLField::jsCheck()
DBLField::setTitle()
DBLField::splitValue()
Documentation generated on Mon, 6 Sep 2004 21:57:03 +0200 by phpDocumentor 1.2.3