We have a drop-down field that is filled dynamically from a look-up rule but we need it to reset back to the blank value (instead of the value selected at the previous approval step) at every approval step in the process. Currently the field is tied to a CSS class and we tried various JQuery googled options without success so far. Has anyone successfully filled a drop-down via a lookup rule, had an option selected during an approval step, had the field still fill with the lookup values at the next approval step, but reset it to the blank selected value?
Question
Question
Replies
replied on March 4, 2018
•
Show version history
Hi Beau
I'm no scripting guru but I have played around with this for a different project
Maybe this will get you going in the right direction. In this case #q101 was the drop down field that I needed to specific the selection for
You may need to try changing the child(x) value to Zero if 1 does not work.
$(document).ready(function(){
$('#q101 select>option:nth-child(1)').attr('selected', true);
$("#Field101").trigger('change');
});
Hope this helps.
1
0
You are not allowed to follow up in this post.