SetField

Sets the value of a field to a given value.

Core function

Syntax

SetField( fieldName, value )

Parameters

Parameter Description
fieldName String name of the field being assigned.
value The value to assign to the field. The type of value depends on the type of the fieldName field.

Description

SetField is a top-level function and is not associated with any object.

You can use this function to set the value of a field in a form.

Examples

The example below sets the value of a field:

Labels

field-access field-access Delete
function function Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.