I am in the following situation, I have three forms, which are displayed through the click event of the buttons associated with them, I disable the buttons and try to validate the fields of each form, before they are shown, has an image that disappears when button, but when I click the button on some form, it comes back and enables the buttons again. I need to keep track of the submit buttons for each form and show both even when it goes into validation, but that's not happening.
1) Form:
<div class="container-links">
<a class="btn btn-1" id="btn-reg1">Cliente 1</a>
<a class="btn btn-2" id="btn-reg2">Cliente 2</a>
<a class="btn btn-3" id="btn-reg3">Cliente 3</a>
</div>
<div class="imagem"><img src="images/pessoa.jpg"></div>
<form id="pesquisadorForm" method="post">
<div class="form-group
<input type="text" name="nome" placeholder="Nome completo" class="form-control">
</div>
<div class="form-group">
<input type="text" name="cpf" placeholder="CPF" class="form-control">
</div>
<div class="form-group">
<input type="text" name="fone" placeholder="Telefone" class="form-control">
</div>
<div class="form-group">
<input type="text" name="email" placeholder="Email" class="form-control">
</div>
<div class="form-group">
<input type="text" name="instituicao" placeholder="Instituição" class="form-control">
</div>
<div class="container-fluid">
button type="submit" class="btn btn-primary btn-block" name="btnPqdr" id="btnPqdr">Salvar Informações</button>
</div>
</form>
2) Form
<form method="post" class="registration-form">
<div class="form-group">
<input type="text" name="nome" placeholder="Nome completo" class="form-control" >
</div>
<div class="form-group">
<input type="text" name="ocupacao" placeholder="Ocupação" class="form-control">
</div>
<div class="form-group">
<input type="text" name="idade" placeholder="Idade" class="form-control">
</div>
<div class="form-group">
<input type="text" name="cidade" placeholder="Cidade" class="form-control">
</div>
<div class="form-group">
<input type="text" name="uf" placeholder="UF" class="form-address form-control" id="form-address">
</div>
<div class="container-fluid">
<button type="submit" class="btn btn-primary btn-block">Salvar Informações</button>
</div>
</form>