Solved

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

  • 20 November 2017
  • 2 replies
  • 10 views

Badge +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?

 

icon

Best answer by bsieloff 20 November 2017, 22:33

View original

2 replies

Badge +6

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

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

Badge +6

This javascript worked for me

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

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

});

Reply