Skip to main content
Version: 4.62

clearFormValue

Deletes a specific value from a form field/entry.

note

As the name suggests, this will clear the value. If a default value was initially supplied, this value is not restored.

Field Configurations

KeyTypeDescriptionDefault Value
"params" (required)Objectundefinednull

Parameters

KeyTypeDescriptionDefault Value
"async"BooleanSpecifies whether the action should perform asynchronously.null
"field" (required)StringThe name of the field to be deleted.null
"form"StringThe name of the specified form in which the field has to be deleted. If no form is specified, the form of the active view is used.null

Inherited

From Base Action

Base Action

Field Configurations

KeyTypeDescriptionDefault Value
"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null
"leadingDelimiter"StringThe leading mustache delimiter to use.null
"params"Object,ArrayObject containing the properties of the action.null
"trailingDelimiter"StringThe trailing mustache delimiter to use.null
"type"StringType name of the action.null

Examples

Example 1: Clear a form value

Show ExampleHide Example

Clear the value of the specified field of the specified form.

{
"type": "clearFormValue",
"params": {
"form": "formActionsForm02",
"field": "formActionsValue01"
}
}
The app showing the results of the sample code from Example 1.The app showing the results of the sample code from Example 1.