I am trying to make a checkbox click event that when the checkbox is clicked it will insert a text into the text box. When I debug it doesn't show that anything is being recognized. What am I doing wrong? I've tried using jquery and jscript styles and both give me nothing. I am new to Nintex so I bbelieve it has to do with the setting of jscript variables on the sharepoint item.
Textbox JScript Variable - TextFileRec
Checkbox JScript Variable - CBFileRec
Here is where I am currently
NWF$(document).ready(function(){
NWF$(CBFileRec).click(function(){
var
text = TextFileRec;
var CB = CBFileRec;
if (CB
== true)
{
text.value = "Insert Text"
}
});
});