Questions tagged as 'form-submit'

1
answer

e.preventdefault does not work in submit

I have a simple form with two inputs and a button to send it. I am trying to make the submit not work by default to be able to do things with the data before sending it to the server but, I do not know why, I can not avoid the submit....
asked by 16.04.2018 / 17:03
2
answers

Activate HTML5 validations from Js

I have this js, and this html: $(document).on('click', '.validar', function (event) { event.preventDefault(); var cantidad = 0; var obj = { "correo": $(".txtEmail").attr("id") }; $.each(obj,...
asked by 20.06.2018 / 23:45
2
answers

HTML call a form from another form on the same page

<form name="update" action="" method="post"> Nombre de Usuario <input name="txtbus" type="text"> <input name="btn1" value="Buscar" type="submit"> </form> <form class="contacto" name='contacto' method="POST"...
asked by 06.11.2017 / 18:48
3
answers

How to show the data entered in inputs and dropdowns through a submit with php or javascript?

Very good people from the forum What I would like to do, which I do not have the slightest idea in this language, is to show the data that is entered in certain inputs and dropdowns in a secondary screen, so to speak, through a submit so that...
asked by 07.03.2018 / 19:09
4
answers

Two select html required

I have a form with two selects and both are "required". I want the submit to be done when changing the second one, but I have set it onchange="submit ()" and it does not work, it does submit although no option has been selected in the first one....
asked by 26.01.2018 / 11:45
0
answers

Problem style.display when doing document.form.submit on iOS

I have an html form that when sent shows a div that occupies the whole screen with a message of "sent ..." while the form is being sent. It works perfectly in all the browsers and versions I've tried, except on iOS devices, where it does not sho...
asked by 05.09.2018 / 18:13
1
answer

FORM It does not send by POST some fields that come from MYSQL

I am making a form as follows: <form id="datosventa" name="datosventa" method="POST" action="nventalentes2.php"> <?php $montura = $_POST['categoryName']; $paciente = $_POST['paciente']; $query2 =...
asked by 24.04.2018 / 22:05
1
answer

Use GET when url is hidden with .htcacess

I am using MVC php (I'm new to MVC) and I have a .htaccess file in which I have the following code RewriteRule ^(\w+)$ index.php?action=$1 I have a driver class Enlaces{ public function enlacesController(){ if(isset($_GET["a...
asked by 27.10.2017 / 00:59
1
answer

error when activating a script with formsubmit

The following is the email I received when I failed to complete the form for the first time. Your script, Query and Procedures Form, has not been executed correctly. Here is a summary of the errors. To configure the triggers for the script or...
asked by 18.10.2017 / 18:12