Skip to content

setText()

Set the text in the field.

Parameters

Once an object field has been created, you can use the following function:

field.setText(text)
Parameter Type Default Description
text str required The new contents of the field.