Nintex for SharePoint Forum
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
hi All,
Is it possible for us to clear the multiline textbox value when the checkbox selection changed ?
thanks
Solved! Go to Solution.
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('');
});
});