DHTMLX Docs & Samples Explorer
Index
dhtmlxForm
API Methods (alphabetical list)
dhtmlXForm
- constructor
attachEvent
- attaches event to dhtmlxForm instance
bindField
- bind form's field to the DB field
bindCommand
- bind input inside form to some command
bindValidator
- bind validation rule to the input
checkItem
- checks item (checkbox and radio button only)
clear
- clear items' values
detachEvent
- detaches event from dhtmlxForm instance
forEachItem
- iterator
getCheckedValue
- returns value of checked radiobutton in specified group
getItemText
- returns item's text
getItemType
- returns item's type
getItemValue
- returns item's value (input only)
getOptions
- returns options (select only)
hideItem
- hides item
isItemChecked
- return true if item checked (checkbox and radio button only)
isItem
- return true if item exists
isItemHidden
- return true if item hidden
load
- loads data from connector feed into the form
loadStruct
- loads configuration from xml file into dhtmlxForm instance
loadStructString
- loads configuration from xml string into dhtmlxForm instance
removeItem
- removes item
send
- send data to the server side script
save
- save data of the form in DB
setItemLabel
- sets item's text
setItemValue
- sets item's value (input only)
showItem
- shows item
remove
- delete related record from DB
reset
- reset data to their original values
uncheckItem
- unchecks item (checkbox and radio button only)
validate
- validate form against defined validation rules