-3
I have a code with a "form" and I have two buttons that I want you to direct to different pages. By clicking the finish button I would like the "action" to be action='envio1.php' and by clicking the Change button the "action" to be action='envio2.php'
Note: I know it is a very simple problem, however, I know that this problem will be solved with javascript and I do not understand much.
<form method='post' action='envio1.php' enctype='multipart/form-data'>
<div class='row'>
<div class='col-sm-5'>
<h4 class='modal-title' style='margin-right: 140px;'></h4>
</div>
<div class='col-sm-5 text-right' style="text-decoration:none; color:white; float: right">
<button class='btn btn-danger' name='FINALIZAR' value="OK">FINALIZAR</button>
<button type='submit' class='btn btn-success'>ALTERAR</button>
</div>
</div>
</form>
What is value A and value B?
– Sam
I’ll rephrase the question
– Carlos
It’s good because you’re a candidate for closure.
– Sam