Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

121
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda