I'm making a simple submission form. Basically: The user enters the value to be drawn, fills the data and clicking the confirm button, the result is displayed on the screen.
The problem is that I can not create this send function, so that the code only executes when the user clicks confirm. How to proceed?
Follow the code below:
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Valor do saque</label>
<div class="col-md-2">
<input id="textinput" name="textinput" value="" type="text" placeholder="R$ 00,00" class="form-control input-md" required="">
</div>
</div>