FormField
|
+--TextField
|
+--IntegerField
|
+--ZipCodeField
public class ZipCodeField
extends IntegerField
| Field Summary | |
|---|---|
| mixed | The only length permitted. |
| Fields inherited from FORMfields.fields.IntegerField | |
|---|---|
| REGEX_INTEGER, maxValue, minValue | |
| Fields inherited from FORMfields.fields.TextField | |
|---|---|
| maxLength, minLength, size | |
| 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 | |
|---|---|
ZipCodeField(string name, string label, int required) Creates a new ZipCodeField. |
|
__construct(string name, string label, int required) Creates a new ZipCodeField. |
|
| Methods inherited from FORMfields.fields.IntegerField | |
|---|---|
| isValid | |
| Methods inherited from FORMfields.fields.TextField | |
|---|---|
| getEditableFieldTag, isValid | |
public mixed $MAX_SIZE = 5
The only length permitted.
public ZipCodeField(string name, string label, int required)
Creates a new ZipCodeField.
ZipCodeField is a field for editing a 5 digit American zip code.