setAttributeValue
The setAttributeValue method sets the value for the specified attribute of the field.
Syntax
setAttributeValue( attribute, value )
Arguments
| Argument | Description | 
|---|---|
| attribute | (string) The name of the attribute to set. | 
| value | (string) The value to set. |