value

Specifies the value of the current object.

Specifies a comma separated list of values for each color component of the color space.

Syntax

Reference_Syntax.value = "various"

Values

Type

Values

Varies

Values differ depending on the referencing object.

For example, the value property of a field object is a string representing the actual value displayed in the field, or the field’s bound value.

Alternatively, for objects that require an color value, this property specifies a comma-separated list of values for each color component of the color space. 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.

Version

XFA 2.1

Examples

JavaScript

// Use the value property to set and get the document variable's value. 
TextField1.rawValue = docVar.value;

FormCalc

// Use the value property to set and get the document variable's value. 
TextField1 = docVar.value

// Ethnio survey code removed