Skip to main content

Form

form parameter contains the form name, the action performed by the user in the form (submit/cancel), and the values filled in the form.

ParameterDescription
nameName of the form given in the form definition. Learn more
actionAction performed by the user accessing the form. It can be either "submit" or "cancel"
valuesThe values filled up in each input of the form are available in this key. Each input name in values will be a map with the original value and metadata of the input

 

Sample Code:

Copied{
   "values":{
      "name":{
         "meta":{
            "type":"text",
            "value":"Patricia Boyle"
         },
         "value":"Patricia Boyle"
      },
      "emailSubscription":{
         "meta":{
            "type":"checkbox",
            "value":"1"
         },
         "value":[
            {
               "label":"Yes",
               "value":"1"
            }
         ]
      }
   },
   "name":"zylkermember",
   "action":"submit"
}