Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

129
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!