FormField
|
+--FaxNumberField
public class FaxNumberField
extends FormField
| Field Summary | |
|---|---|
| mixed | The sub field for the 1st part of the fax number. |
| mixed | The sub field for the 2nd part of the fax number. |
| mixed | The sub field for the 3rd part of the fax number. |
| mixed | $subFieldDisplayValueSeparator A string used to separate the display value parts. |
| mixed | A string used to separate the sub fields. |
| 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 | |
|---|---|
FaxNumberField(string name, string label, int required) Creates a new FaxNumberField. |
|
__construct(string name, string label, int required) Creates a new FaxNumberField. |
|
| Method Summary | |
|---|---|
| void | setValue(string value) Sets the value of this form field. |
public mixed $p1 = null
The sub field for the 1st part of the fax number.
public mixed $p2 = null
The sub field for the 2nd part of the fax number.
public mixed $p3 = null
The sub field for the 3rd part of the fax number.
public mixed $subFieldDisplayValueSeparator = "-"
A string used to separate the display value parts.
public mixed $subFieldSeparator = " - "
A string used to separate the sub fields.
public FaxNumberField(string name, string label, int required)
Creates a new FaxNumberField.
public void setValue(string value)
Sets the value of this form field.
FaxNumberField is a field for editing an American fax number in the form: "XXX-YYY-ZZZZ".