borderColor

Specifies the border color value for this field.

A border must be defined before you can change the color by scripting.

Syntax

Reference_Syntax.borderColor = " [0-255], [0-255], [0-255]"

Values

Type

Values

String

For the color-space of SRGB, the component values must be r,g,b, where r is the red component value, g is the green component value, and b is the blue component value. Each component value must be in the range 0 through 255, inclusive. 255 represents maximum display intensity. For example, 255,0,0 specifies the color red.

The default is dependent upon the context of where the color is used; the default color is determined by the object enclosing the color object.

Applies to

Version

XFA 2.1

Examples

JavaScript

TextField1.borderColor = "125,154,125";

FormCalc

TextField1.borderColor = "125,154,125"

// Ethnio survey code removed