Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/06/2017, 12:14
Avatar de KATHYU
KATHYU
 
Fecha de Ingreso: julio-2013
Mensajes: 547
Antigüedad: 10 años, 9 meses
Puntos: 46
Respuesta: Obtener valor input y enviar mediante post

An HTML form with two submit buttons, with different actions:
Código HTML:
Ver original
  1. <form action="/action_page.php">
  2.   First name: <input type="text" name="fname"><br>
  3.   Last name: <input type="text" name="lname"><br>
  4.   <input type="submit" value="Submit"><br>
  5.   <input type="submit" formaction="/action_page2.php"
  6.  value="Submit as admin">
  7. </form>

https://www.w3schools.com/html/html_form_attributes.asp
__________________
Al contrario de lo que muchos podrían afirmar, ayudar no te hace pobre, sino más rico.