returns the type of an item
name | string | the name of an item |
value | string | the value of a radio button |
string | item type |
//for radio buttons
var type = myForm.getItemType(name, value);
//for other items
var type = myForm.getItemType(name);
Back to top