AnsweredAssumed Answered

Dropdown in dynamic table

Question asked by aextractor on Aug 28, 2017
Latest reply on Aug 29, 2017 by aextractor

Hi,

i am trying to set values in a dropdown field in a dynamic table depending on conditions using Script task. For string fields i usually use the folllowing line in my code:

tab_2.push({ident:tab_1[i].ident,value:'Yes'})

In here 'ident' (string) is the first column and 'value' (string) is the second in my dynamic table named 'tab_2'. In this case the code is running and the table is fulfilled. The problem is when trying to change 'value' as dropdown with options (Yes, No), that way the value field remain empty.

 

Is any body has an idea about how to set values to a dropdown field in a dynamic table using javascript ?

 

Thank you in advance for your support.

Outcomes