DHTMLX Docs & Samples Explorer

Items Manipulations

Other

Getting item's type

Applied to all items, will return one of [“checkbox”, “radio”, “input”, “select”, “label”] or null.

    var type = dhxForm.getItemType(name, value); // for radio buttons 2nd argument value should be passed

Check if item exists

Applied to all items, will return true if item exists.

    var isExists = dhxForm.isItemExists(name, value); // for radio buttons 2nd argument value should be passed

Removing item

Applied to all items.

    dhxForm.removeItem(name, value); // for radio buttons 2nd argument value should be passed

More