Checks item (checkbox and radio only).
Parameters:
formData = [ {type: "radio", name: "gender", value: "male", label: "Male"}, {type: "radio", name: "gender", value: "female", label: "Female"}, {type: "checkbox", name:"license", label: "Driving license"}, ... ]; myForm = new dhtmlXForm("myForm", formData); myForm.checkItem("gender", "male"); // for radio button myForm.checkItem("license"); // for other items
See also: