I need the DIV with Submit:
<div class="botaonovochamado">
<input type="submit" name="CODIGO" value="Novo">
</div>
Only appear when certain fields are filled in. For example:
<select name="tipobroblema" id="tipoproblemas" required>
<option value="">- Tipo Problema -</option>
<option value="MAQUINAS - ">Maquina</option>
<option value="VAZAMENTO">Vazamento</option>
<option value="AR-CONDICIONADO">Ar Condicionado</option>
<option value="OUTRO - ">Outro</option>
</select>
<select name="atendente" required id="category">
<option value="">- Atendente -</option>
<option value="ATENDETE1">atendente1</option>
<option value="ATENDETE2">atendente2</option>
<option value="ATENDETE3">atendente3</option>
<option value="ATENDETE4">atendente4</option>
<option value="OUTRO">outro</option>
</select>
I have already found posts that answer this question, but this case has some differences.
Depending on the option that the user chooses, new options will appear (in this case, new checkboxes.
For example: If you select "- Type Problem -" with the "- Machines" option, then it will display another select, in this case, with the machine selection box. I need the "REGISTER" button to appear only when the fields are filled out (note that the "- Machines -" checkbox is only invisible, it will still be on the page, so the code will not involve all select, it will be for the select "- Machines -" only when it is visible on the display, that is, when the user selects the "Machines" option in the select "- Type Problem -").
I hope you have understood my doubt. About anything, I'm at ease. Thank you in advance.