numberOfCells

Indicates the number of cells drawn for a comb field. This is not affected by the number of characters in the field’s value.

Syntax

Reference_Syntax.numberOfCells = "0 | integer"

Values

Type

Values

Integer

  • 0 (default)

  • integer

A single cell is drawn for the comb field, or if the maxChars property is set, the number of cells corresponds to the value of maxChars.

  • integer

A valid integer representing the total number of cells drawn for the comb field.

Applies to

Model

Object

Form Model

comb

Version

XFA 2.5

Examples

JavaScript

TextField1.resolveNode("ui.#textEdit.comb").numberOfCells = "6";

FormCalc

TextField1.ui.#textEdit.comb.numberOfCells = "6"

// Ethnio survey code removed