DHTMLX Docs & Samples Explorer

Hidden

A hidden text field (invisible for users). Presents original input type=hidden.

Attributes

  • name - (string) the identification name. Used for referring to item
  • value - (string) the initial value of item
  • userdata - (object) sets some user data for the input (key:value pairs)

Usage of value is optional, but without this attribute hidden doesn't have any sense.

var formData = [{type: "hidden", name:"topField", value:"1"}
];