I have one form with one checkbox, source:
{name: "mycheck",
Id: "mycheck",
title: "mycheck",
type: "checkbox",
valueMap:[0, 1],
defaultValue: 1
},
then, I have one button with some js operations.
everything goes fine, except each time I ask for the checkbox value, I get on e js error: object required
the error fires in the following sentence:
document.getElementById("mycheck").value
what's wrong..?
{name: "mycheck",
Id: "mycheck",
title: "mycheck",
type: "checkbox",
valueMap:[0, 1],
defaultValue: 1
},
then, I have one button with some js operations.
everything goes fine, except each time I ask for the checkbox value, I get on e js error: object required
the error fires in the following sentence:
document.getElementById("mycheck").value
what's wrong..?
Comment