2
<div class="form-group">                    
    <label>Tipo de Conta</label>
    <select class="form-control" id="banco" name="banco">
        <option value="" selected>Selecione</option>
        <option value="0">Conta Corrente</option>
        <option value="1">Conta Poupança</option>
        <option value="2">Caixa (em espécie)</option>
    </select>
</div>
<div class="form-group">                    
    <label>Nome do Banco</label>
    <select class="form-control" id="banco" name="banco">
        <option value="" selected>Selecione</option>
        <option value="0">Santander</option>
        <option value="1">Caixa</option>
        <option value="2">Banco do Brasil</option>
    </select>
</div>
I would like to know how to enable/disable SELECT "Bank Name" according to the "Account Type" selected. Example:
If the user selects the "Account Type" -> Current Account, the "Bank Name" field enables;
If the user selects the "Account Type" -> Box (in kind), the "Database Name" field disables;
You have to use Javascript for this. Search for events (more specifically
change) and try to do and post the code. If there is difficulty we can try to help.– Sam
I’ll give a survey, thanks for the tip.
– luizgparaujo