- Thu Sep 20, 2018 1:35 pm
#816199
Hi,
I'm trying to set the checkgroup options to true by default for some of the options, but only when it was never set. I know there is an isset() for the checkbox object, but I can't seem to figure it out for the checkgroup.
if (isset(@=checkgroupVarRequestType[0]))
{
$("#checkgroupVarRequestType").setValue(["398681640593f19bb413ea6021707339"]);
}
if (isset(@=checkgroupVarRequestType[1]))
{
$("#checkgroupVarRequestType").setValue(["708038330593f19c5728225042748718"]);
}
I'm trying to set the checkgroup options to true by default for some of the options, but only when it was never set. I know there is an isset() for the checkbox object, but I can't seem to figure it out for the checkgroup.
if (isset(@=checkgroupVarRequestType[0]))
{
$("#checkgroupVarRequestType").setValue(["398681640593f19bb413ea6021707339"]);
}
if (isset(@=checkgroupVarRequestType[1]))
{
$("#checkgroupVarRequestType").setValue(["708038330593f19c5728225042748718"]);
}