Good morning
I've created two fields for selection. And one of them has a list of values. When I select the value, in another field, which will also have a list, I need only the corresponding values to appear.
In the example below, the code on the side lists the description on the right side. That way when I select the code 411075145 I want the other selection field to look like the Agreement, Deposit and INSS Tab descriptions
411075145 - Agreement
411075145 - Deposit
411075145 - INSS Guide
Below is 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);
});
}
}