Hello,
I have a form and would like to know how to change the results of it.
Example: both for when the form is filled in successfully and for when an error occurs it redirects to a page of my choice.
I'm using the following code:
<form class="mbr-form" action="[email protected]" method="post" name="Meu Formulario">
<div class="row row-sm-offset">
<div class="col-md-4 multi-horizontal" data-for="name">
<div class="form-group">
<label mbr-text class="form-control-label mbr-fonts-style" mbr-theme-style="display-7" for="name">Nome</label>
<input type="text" class="form-control" name="name" data-form-field="Name" required>
</div>
</div>
<div class="col-md-4 multi-horizontal" data-for="email">
<div class="form-group">
<label mbr-text class="form-control-label mbr-fonts-style" mbr-theme-style="display-7" for="email">Email</label>
<input type="email" class="form-control" name="email" data-form-field="Email" required>
</div>
</div>
<div class="col-md-4 multi-horizontal" data-for="phone" hidden="hidden">
<div class="form-group">
<label mbr-text class="form-control-label mbr-fonts-style" mbr-theme-style="display-7" for="phone" hidden="hidden">Produto</label>
<input type="tel" class="form-control" name="phone" data-form-field="Phone" hidden="hidden">
</div>
</div>
</div>
<div class="form-group" data-for="message">
<label mbr-text class="form-control-label mbr-fonts-style" mbr-theme-style="display-7" for="message">Mensagem</label>
<textarea type="text" class="form-control" name="message" rows="7" data-form-field="Message"></textarea>
</div>
<span mbr-buttons mbr-theme-style="display-4" data-toolbar="-mbrLink,-mbrBtnAdd,-mbrBtnMove" class="input-group-btn"><a href type="submit" class="btn btn-primary btn-form">ENVIAR MENSAGEM</a></span>
</form>