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....
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,...
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...
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....
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...
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 =...
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...
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...