0
Good morning
I created two fields for selection. And one of them has a list of values. When selected the value, in another field, which will also have a list, I need to appear only the corresponding values.
In the example below, the code on the side relates the description on the right side. That way when I select code 411075145 I want the other selection field to look like the Agreement, Deposit and INSS Guide descriptions
411075145 - Agreement
411075145 - Deposit
411075145 - INSS Guide
Below the follows the code:
function CarregarRelativo() {
$('#Relativo').empty();
AddDropDownItem('Relativo', '', '');
var
var data = GetListItems('02FC4BE9-B056-486D-A9C6-3743DF5F9257',"?$orderby=Title");
if (data != null) {
data.forEach(function(item) {
AddDropDownItem('Relativo', item.DescricaoContaContabil,item.DescricaoContaContabil);
});
}
}
It’s a little confusing your question, you have a checkbox with code and another with another according to the selected code, I do not understand. Could explain better ?
– Alex
Sorry, come on, let’s go. have two checkbox , at checkbox1 this the codes and at checkbox2 should list the texts according to the code selected at checkbox1.
– Valdecir Renkaveski