Skip to main content
Nintex Community Menu Bar
Solved

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

  • Nov 20, 2017 2:59 AM UTC
  • 2 replies
  • 81 views
  • Translate All

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);

});

View original

2 replies

Forum|alt.badge.img+6
  • Author
  • Nov 20, 2017 9:22 PM UTC

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

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

Translate

Forum|alt.badge.img+6
  • Author
  • Answer
  • Nov 20, 2017 9:33 PM UTC

This javascript worked for me

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

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

});

Translate