I have 2 fields as shown below:
<div class="col-md-4">
<label for="descricao">Valor título </label>
<div class="input-group">
<span class="input-group-addon">R$</span>
<input type="text" id="entr_valorMoeda" class="form-control valor" value="<?php echo $conta->ENTR_ValorMoeda;?>" readonly >
<input type="hidden" class="valor" name="entr_valorMoeda" value="<?php echo $conta->ENTR_ValorMoeda;?>">
</div>
</div>
<div class="col-md-4">
<label for="descricao">Valor baixa </label>
<div class="input-group">
<span class="input-group-addon">R$</span>
<input type="text" class="form-control valor" id="valorBaixa" name="valorBaixa" value="<?php echo $valorBaixa;?>">
<input type="hidden" name="totalBaixas" value="<?php echo $totalBaixas; ?>">
</div>
</div>
Where the first field tells me a database value and 2 replicates this same value but the first field is blocking and can not change and the second I can change, so I wanted to know how I do it when I go to change this second is no more than the value of the varialvel.