Please enable JavaScript to view this site.

Process Designer

In the Desktop version you can go through a list in the JobRouter form with JavaScript options.length and a loop.

Code example for the Desktop version (does not work in the app)

var statuslist  = document.getElementById('status');

var statuslistlength = statuslist.options.length;

for (i = 0; i < statuslistlength; i++) {

    if(step==10 && statuslist.options[i].value!=='Erfasst' && statuslist.options[i].value!==''){

            statuslist.options[i].disabled = true;

    }

    if(step==20 && (statuslist.options[i].value!=='Freigegeben')){

            statuslist.options[i].disabled = true;

    }

    if(step==30 && (statuslist.options[i].value!=='Verbuchen') && statuslist.options[i].value!==''){

            statuslist.options[i].disabled = true;

    }

  }

 

In the JobRouter app it is not possible to go through a list as above and disable single elements.