FormField
|
+--TaxIdField
public class TaxIdField
extends FormField
| Field Summary | |
|---|---|
| mixed | The sub field for the 1st part of the Tax ID. |
| mixed | The sub field for the 2nd part of the Tax ID. |
| mixed | The sub field for the 3rd part of the Tax ID. |
| 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 | |
|---|---|
TaxIdField(string name, string label, int required) Creates a new TaxIdField. |
|
__construct(string name, string label, int required) Creates a new TaxIdField. |
|
| Method Summary | |
|---|---|
| void | setValue(string value) Sets the value of this field. |
public mixed $p1 = null
The sub field for the 1st part of the Tax ID.
public mixed $p2 = null
The sub field for the 2nd part of the Tax ID.
public mixed $p3 = null
The sub field for the 3rd part of the Tax ID.
public mixed $subFieldDisplayValueSeparator = "-"
A string used to separate the display value parts.
public mixed $subFieldSeparator = " - "
A string used to separate the sub fields.
public TaxIdField(string name, string label, int required)
Creates a new TaxIdField.
public void setValue(string value)
Sets the value of this field.
TaxIdField is a field for editing a Tax ID or Social Security Number.