form_modification

form_modification is the response of the form's change handler. It can be used to remove, clear, update, add_before, add_after, enable or disable fields in the form.

ParameterDescriptionDatatypeMax Limit
typeType of response --
actionsAction that has to be performedList 
nameName of the inputString-

Sample Code:

Copied{
	"type" : "form_modification",
	"actions" : [
	{
	"type" : "remove",
	"name" : $inputname
	},
	{
	"type" : "clear",
	"name" : $inputname
	},
	{
	"type" : "update",
	"name" : $inputname,
	"input" : $input
	},
	{
	"type" : "add_before",
	"name" : $inputname,
	"input" : $input
	},
	{
	"type" : "add_after",
	"name" : $inputname,
	"input" : $input
	},
	{
	"type" : "enable",
	"name" : $inputname
	},
	{
	"type" : "disable",
	"name" : $inputname
	}
	]
}