Skip to main content
Nintex Community Menu Bar
Answer

Is there a way to set a default selection on an 'assign a task' outcome

  • November 20, 2017
  • 2 replies
  • 54 views

Forum|alt.badge.img+6

Hello,

I have a task that really is just a confirmation.  I want to set a default answer to the task so that the user does not need to set it.  I have tried setting the default value but that does not work.  How can I have the outcome preselected?

 

Best answer by bsieloff

This javascript worked for me

NWF$(document).ready(function(){

NWF$(':radio[value="Send to ecc"]').attr('checked',true);

});

2 replies

Forum|alt.badge.img+6
  • Author
  • November 20, 2017

I found some javascript examples that had some promise and I tested on the form but it does not seem to work.

My script looks like:

NWF$('document').ready(function(){

NWF$('#'+jsvRadioButtonField).find('input[value='Send to ecc']').attr('checked', ‘true’);

});

This is how I added it under form settings

--------------------------------------------------------------------------------------------------------------------

this was the outcome

----------------------------------------------------------------------------------------


Forum|alt.badge.img+6
  • Author
  • Answer
  • November 20, 2017

This javascript worked for me

NWF$(document).ready(function(){

NWF$(':radio[value="Send to ecc"]').attr('checked',true);

});