Alright? I am very new to programming and I have a simple question that I did not find here in the forum. I have this code below the view (made in codeigniter):
<div class="span6">
<label for="formaPgto">Forma Pgto</label>
<select name="formaPgto" id="formaPgto" class="span12">
<option value="Dinheiro">Dinheiro</option>
<option value="Cartão de Crédito">Cartão de Crédito</option>
<option value="Cheque">Cheque</option>
<option value="Boleto">Boleto</option>
<option value="Depósito">Depósito</option>
<option value="Débito">Débito</option>
</select>
</div>
I want that when the person chooses the Check option, open a field below, with an input type text, to enter the check number (OBS: I have already created the numCheque column and numCartao in the BD). And the same, when the user chooses Credit Card.
I could not figure it out. If anyone can help me, I'm so grateful.