Questions tagged as 'formularios'

2
answers

How to use buttons in HTML form to choose between several options?

I am designing a registration form and the section of choice of sex is not designed as a dropdown but as three buttons that when choosing one is active and I do not know how to do this in HTML and CSS. I have tried to put a type button but it...
asked by 20.02.2018 / 14:27
1
answer

Get answer through ajax

I have a hypothetical problem : Mipagina.php <?php if(isset($_GET['nombre']) && !empty($_GET['nombre'])) :?> <?php $nombre = $_GET['nombre'];?> Hola <?php echo $nombre;?> <?php else:?> <form...
asked by 19.08.2016 / 18:48
1
answer

The form does not work when clicked

I'm trying to make a form with angularjs 1.5 to obtain the token of a server, but when clicking, I do not get any result or error message. Use AngularUI Router to set the route of the form ... // otras rutas .state('login'...
asked by 04.10.2016 / 03:56
2
answers

Form fields are empty in the mail that is sent

I have a form in php that works when uploading it to the server (it sends mail), but the fields that the user fills out go blank (with which he does not send any information in reality) this is the form <form action="contact_process.php"...
asked by 15.03.2018 / 22:06
5
answers

what is the difference between using $ (). val () and document.getElementById (). value; in javascript

Well I'm a bit confused about how to get the value of the fields in Javascript, I've seen that many times you get using the code: document.getElementById("elemento").value; and others using the code: $(elemento).val() What is the diff...
asked by 13.07.2017 / 21:38
3
answers

How to send values by GET other than those in the form?

I have a form to send data by GET and I want to send an additional data annexing it to the URL, the code is: <form action="/Libro?accion=salvar" method="get"> <label for="titulo">Titulo</label> <br&...
asked by 18.11.2016 / 18:09
1
answer

Redirect from Login in html

I'm trying to make a login in html and validate if the username and password are correct with a javascript (for the moment I only see if username and password are the same), and depending on whether they are correct or not redirect me to one pag...
asked by 31.03.2018 / 19:46
1
answer

undefined index php

I have this code, the fact is that in the line of $ _SESSION ['students'] I miss the error. What I want is that if that array of students does not exist that believes it, and when the program starts, since it does not exist, it gives me that err...
asked by 17.01.2018 / 11:17
2
answers

Check full fields jquery

I am trying to do a 2 input text check and when the keyup is executed, even if only the input name is filled, it enters the else and the IF is not fulfilled. JS $( document ).ready(function() { $("#formulario input").keyup(function() {...
asked by 01.10.2018 / 17:09
1
answer

Placeholder in UITextView

In the application that I am developing we use UITextView to show the response boxes of the users but I would like to add the behavior of the UITextField to add a placeholder that indicates the information which the user must fil...
asked by 14.12.2015 / 20:12