How do I, if the user types the values in 02 fields, the result of that sum automatically appears in the EndType [] field? These fields are coming from the database.
while($peListar = mysqli_fetch_object($sqlListar){
.....
$listar .= "<td style='".$fundo."'><input type='text' name='ValorI[]' class='md-form-control' value=''></td>";
$listar .= "<td style='".$fundo."'><input type='text' name='ValorII[]' class='md-form-control' value=''></td>";
$listar .= "<td style='".$fundo."'><input type='text' name='ValorFinal[]' class='md-form-control' value=''></td>";
.....
}