I would like to know how I can change the name and property of a button from a radio button.
<h3>Criar novo usuário</h3>
<p></p>
<form class="m-t" role="form" action="login.php" method="post">
<div class="form-group">
<input type="text" class="form-color-custom form-control" placeholder="Primeiro nome" required="" name="nome">
</div>
<div class="form-group">
<input type="text" class="form-color-custom form-control" placeholder="Sobrenome" required="" name="sobrenome">
</div>
<div class="form-group">
<input type="text" class="form-color-custom form-control" placeholder="Telefone" required="" id="telefone" maxlength="15" name="telefone">
</div>
<div class="form-group">
<input type="email" class="form-color-custom form-control" placeholder="Email" required="" name="email">
</div>
<div class="form-group">
<input type="password" class="form-color-custom form-control" placeholder="Senha" required="" name="password">
</div>
<div class="form-group">
<input type="password" class="form-color-custom form-control" placeholder="Confirmar senha" required="" name="password">
</div>
<div class="form-group">
<div class="i-checks">
<label style="float: left;">
<input type="radio" value="usuario" name="tipo-parceiro"> <i></i> Usuário parceiro
</label>
</div>
<div class="i-checks">
<label style="float: right;">
<input type="radio" value="grupo" name="tipo-parceiro"> <i></i> Grupo parceiro
</label>
</div>
</div>
<button id="bnt-novo" type="submit" class="btn btn-primary block full-width m-b" style="margin-top: 17%;">Criar novo</button>
</form>
If Partner is selected, the form is sent normally, but if Partner Group is selected, it should have a new screen with the partner list that I receive via JSON. And the button should change from Create New to Group List .