Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

populare value drop list

Avatar

Level 4

Hello I have a combobox that has 4 item (example: A, B, C, D) This drop list I have specified the values 1, 2, 3, 4

people a second combobox but I can not pass values

I need these values for a xml file

you know how can I do??

var combo1 = xfa.event.change;

var combo2="droplist2";

var combo3="droplist3";
var combo4="droplist4";

//delete item

mod.delete (combo2);
mod.delete (combo3);
mod.delete (combo4);

// array
    objK = new Array();   
    objK[0]="A";
    objK[1]="B";
    objKe[2]="C";
    objK[3]="D";

    for (var i=0; i<objK.length; i++){

if(objK[i] != combo1){
   
        droplist2.addItem(objK[i]);
   
    }
}

0 Replies