$echo = $formaPagamento == "DEBITOCONTA" ? "selected='selected'" : ""; echo $echo; ?> >DEBITO EM CONTA</option> <option value="DEPOSITO" <?php $echo = $formaPagamento == "DEPOSITO" ? "selected='selected'" : ""; echo $echo; ?> >DEPOSITO</option> </select> </div> <div class='field'> <label>Banco</label> <input type='text' id='txtBancoConta' value='<?php echo $contaPagar->getBanco(); ?> ' size='30' maxlength="10" style='text-align: right;' /> </div> <div class='field'> <label>Agencia</label> <input type='text' id='txtAgenciaConta' value='<?php echo $contaPagar->getAgencia(); ?> ' size='30' maxlength="10" style='text-align: right;' /> </div> <div class='field'> <label>Numero Cheque</label> <input type='text' id='txtNumeroChequeConta' value='<?php