Skip to main content

hi All,

Is it possible for us to clear the multiline textbox value when the checkbox selection changed ?

thanks

following should work

varCB and varMLTB are javascript variables assigned to checkbox and multiline text box controls

NWF.FormFiller.Events.RegisterAfterReady(function () {  
   NWF$('#'+varCB).change(function(evt){
       if(evt.target.status){    //if checkbox checked on
             NWF$('#'+varMLTB).val('');      
       }
  })
})

hi Marian,

i tried your suggestion but too bad, its not working.

and i tried the below code as well,

NWF$(document).ready(function()
{
       NWF$('#'+A1).change(function()
       {
            NWF$('#'+A1A).val('');
       });

});

note: the code in Bold not working, anyone can help ?


hi All,

to add on, my textbox is multiline text box - rich text

thanks


Use the following code :

NWF$(document).ready(function()
{
NWF$('#'+A1).change(function()
{
var txtArea = NWF$('#'+ A1A).closest('tr').find('div[id$="_inplacerte"]');
txtArea.html('');
});
});

Refer : https://community.nintex.com/thread/1518


Reply