Questions tagged as 'formularios'

2
answers

Error validating a form with JavaScript when you press a key or lose focus

I am trying to put a validation on the client side of some forms on my web page, even adding a class to show the error, or I have already added a document.write due to desperation. Such is the thing that these would be my validations a...
asked by 09.05.2017 / 09:32
2
answers

How to use ucfirst in a PHP form [closed]

How to use ucfirst in the "name" of a PHP form? I need to receive (yes or yes), the names and surnames with the first letter in upper case, and we know that today x those who complete their data in a web form from a mobile phone do not a...
asked by 20.04.2017 / 01:52
1
answer

Content TextArea in PHP with $ _POST

I am creating a test form which I want you to send me the entered data to php . He sends me the Name and the Mail but the text entered in TEXTAREA does not send it to me. I leave the code feedback.html: <form action="feed....
asked by 21.11.2017 / 17:34
1
answer

LOPD acceptance box in form and php

we have to include in the contact form the acceptance box of the privacy policy, that in html is simple with this code <input type="checkbox" name="aceptar_terminos" id="aceptar_terminos" value="aceptar_terminos" /> He leído y acepto la...
asked by 23.05.2018 / 14:00
1
answer

Validate reservation entry and exit range. Bootstrap datepicker

My problem is basic. I have a reservation system where enter the date of entry and exit. I have validated that the departure date can not be less than the entry date and the entry date can not be greater than the departure date and when they mod...
asked by 18.03.2018 / 02:29
2
answers

Use a response text to define a section break

I need to create a form using a script, it should have the distinction of being divided into several pages. The functionality that I must generate is that in the first screen ask for the email, and when clicking on next one you should check if t...
asked by 27.06.2017 / 17:51
1
answer

The action of my form does not work in HTML

Currently I have a problem because I create a form and within my form tag I added an action, the problem is that it does not execute the url of my action, when I click on my submit button, it does not execute no action and my file validar.php...
asked by 21.06.2017 / 23:47
1
answer

Access values sent by HTML form in PHP

Sorry if I make an error, but I'm new to this forum. I want to make a decision in a php block using a value of a select. <?php $act = $_GET["act"]; $save = $_GET["save"]; if($act == 'agregar'){ if($sav...
asked by 12.01.2017 / 07:40
2
answers

Problem with javascript and forms

I have a problem with this code, the idea would be that when I click on the "submit" button, it shows me the data loaded in the form below <!-- Formulario --> <div class="formulario"> <h1> Tienda offline </h1>...
asked by 13.12.2018 / 04:18
2
answers

preventDefault () - Before sending by PHP A BBDD (jQuery)

I try to send the information of a form, to a database, so before sending it, I want to check that all the fields that I have marked with "required" are filled in. For this I am trying the following: $("#comprobarDatos").on("click", functio...
asked by 27.08.2018 / 16:58