Hidden Input Field
The hidden input field type can be used to store field values that do not require input from a user. The field can be used by developers to store data and since the field will not be added in the form, users cannot see or modify it's values.The attributes for this field are:
Attribute Name | Datatype | Description |
type | String (Value should be hidden) | The type of the input field. Value should be hidden |
name* | String (50) | A unique identifier for the field. Upon form submission, value defined for this key will be available in the function associated with the form. |
value* | String(2048) | Provide a default input value for the field. |
Sample Code:
Copied{
"type":"hidden",
"name":"file",
"value":"Refunds"
}
JSON format passed in handlers for the filled-in value:
Copied{
"meta":{
"type":"hidden",
"value":"Refunds"
},
"value":"Refunds"
}