DateFormFieldInfo Object
Description
Information about a check form field. Is needed by the event argument class DateFormFieldEventArgs.
Syntax
{
date: <Number>,
dateFormat: <String>,
emptyWidth: <Number>
}Examples
The following example demonstrates DateFormFieldInfo in a practical document-editing workflow. Information about a check form field. Is needed by the event argument class DateFormFieldEventArgs.
function inspectDateFormFieldInfo(dateFormFieldInfo) {
console.log("date:", dateFormFieldInfo.date);
console.log("date format:", dateFormFieldInfo.dateFormat);
console.log("empty width:", dateFormFieldInfo.emptyWidth);
}Members
Properties
| Property | Description |
|---|---|
| bounds | The bounding rectangle of a text field. (Inherited from TextFieldInfo.) |
| containsInputPosition | Returns true if the Textfield contains the current text input position. (Inherited from TextFieldInfo.) |
| date | The date as a Unix time stamp in milliseconds. |
| dateFormat | The date format. |
| deleteable | Specifies whether a text field can be deleted by the end-user while a TX Text Control document is being edited. (Inherited from TextFieldInfo.) |
| doubledInputPosition | Specifies whether a text field has a doubled input position in front of its first character and behind its last character. (Inherited from TextFieldInfo.) |
| editable | Specifies whether the text of a text field can be changed by the end-user while a TX Text Control document is being edited. (Inherited from TextFieldInfo.) |
| emptyWidth | The horizontal width of the empty field in twips. |
| formattingBounds | The formatting rectangle of a text field. (Inherited from TextFieldInfo.) |
| id | The identifier of the text field. (Inherited from TextFieldInfo.) |
| isSpellCheckingEnabled | Specifies whether a text field's text is checked on misspelled words. (Inherited from TextFieldInfo.) |
| length | The number of characters in the text field. (Inherited from TextFieldInfo.) |
| name | The text field's name. (Inherited from TextFieldInfo.) |
| showActivated | Specifies whether a text field toggles its background to gray, if the current input position is in the field. (Inherited from TextFieldInfo.) |
| start | The 1-based first character position of the text field. (Inherited from TextFieldInfo.) |
| text | The text field's text content. (Inherited from TextFieldInfo.) |
| type | The field type ("APPLICATIONFIELD" or "TEXTFIELD"). (Inherited from TextFieldInfo.) |