Check documentation for the latest version of dhtmlxSuite getUserData DHTMLX Docs

getUserData

returns any user data set into the given input by the setUserData() method

mixed getUserData(string name,string value,string udKey);
namestringthe name of an item
valuestringthe value of an item (radiobutton only, omit for other types)
udKeystringthe key value that points to the user data
mixedthe item's user data

Example

myForm.setUserData(name,udKey,udValue);
 
// getting userdata value of radiobutton
var auto = myForm.getUserData("mode", "a", "auto");
var size = myForm.getUserData("mode", "a", "size");
// getting userdata value of other types of items
var max_length = myForm.getUserData("login", "max_length");
var char_allowed = myForm.getUserData("login", "char_allowed");

See also
Back to top