Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

126
Vistas
Input from Model not included in form POST data

I have a simple HTML POST form with a model contained within like so:

https://jsfiddle.net/pilotman/rn9gspz8/6/

note: the JS fiddle is basic and just for demo and is not perfect.

So when I submit the form and let the input inside the model has some text, my server script does not see 'input2'

$_POST['input2'];

Does the data inside the model get sent with the POST data from the form? If not can it be done (I assume anything inside the form tag would be sent but I am clearly wrong)?

Thanks

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Your code is correct. as per your jsfiddle

$_POST['input1']; is the normal input

$_POST['input2']; is the popup model input field;

enter image description here

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda