title: Some of the hidden $_POST Vairables failing to display within internal iframe
body: <p>I am new to coding and have learned a whole lot in the last 12 months using S/O so i would like to say thanks for helping me out and any input is more than appreciated.</p>
  
  <p>I have created a 4 page Registration form that consists of the following process:<br>
  1.  index.php  (Main page / Landing page with form input values)
  2.  page2.php  (Select date, time and confirm appointment)
  3.  page3.php  (Booking confirmed please Select nearest location, Survey and service)
  4.  SSL Payments page with iframe insert from 3rd party </p>
  
  <p>on page3.php i have inserted an internal iframe that is hosted on the same server, using separate css files, js, ect.. So due to my lack of coding skills i found it easier to insert the iframe rather than merging the page as 1 complete page.</p>
  
  <p>Now on all pages i have managed to get the $_POST Variables passing from page 1 --> 2 --> 3
  But on page 3 i fail to get all the variables displayed in the iframe hidden inputs. I can not understand why only some are being displayed and others are not.. When the form gets submitted the only ones that come through are the ones you can see hidden in source code.</p>
  
  <p>i have also tried to do the following:</p>
  
  <p>insert <code>&lt;?php session_start();?&gt;</code> at the top of the page</p>
  
  <p>and at the bottom of page i have:</p>
  
  <pre><code>&lt;?php
          $_SESSION['Name']=$_POST['Name'];
          $_SESSION['Postcode']=$_POST['Postcode'];
          $_SESSION['Building']=$_POST['Building'];
          $_SESSION['EmailAddress']=$_POST['EmailAddress'];
          $_SESSION['Telephone']=$_POST['Telephone'];
          $_SESSION['datepicker']=$_POST['datepicker'];
          $_SESSION['timeofsurvey']=$_POST['timeofsurver'];
          $_SESSION['PropertyOwner']=$_POST['PropertyOwner'];
  ?&gt;
  </code></pre>
  
  <p>I have these on each page to make sure they get passed across each page, All the input ['names'] are correct and on the same page where the iframe is they are displayed back to the user in a text box to the right side of the iframe basically to show the user that their information is correct while booking their appointment.</p>
  
  <p>Here is my iframe form source code:</p>
  
  <pre><code>&lt;div id="app" my-app my-controller="Controller"&gt;
      &lt;form action="Processing.php" id="regForm" name="regForm" method="post"&gt;
      &lt;input type="hidden" value="&lt;?php echo $_SESSION['Name'];?&gt;" name="Full Name"&gt;
      &lt;input type="hidden" value="&lt;?php echo $_SESSION['Telephone'];?&gt;" name="Telephone"&gt;
      &lt;input type="hidden" value="&lt;?php echo $_SESSION['EmailAddress'];?&gt;" name="Email"&gt;
      &lt;input type="hidden" value="&lt;?php echo $_SESSION['Building'];?&gt; " name="Building Number or Name"&gt;
      &lt;input type="hidden" value="&lt;?php echo $_SESSION['Postcode'];?&gt;" name="Postcode"&gt;
      &lt;input type="hidden" value="&lt;?php echo $_SESSION['PropertyOwner'];?&gt;" name="PropertyOwner"&gt;    
      &lt;input type="hidden" value="&lt;?php echo $_POST['datepicker'];?&gt;" name="Survey Date"&gt;
      &lt;input type="hidden" value="&lt;?php echo $_POST['timeofsurvey'];?&gt;" name="Survey Time"&gt; 
  </code></pre>
  
  <p>The only hidden variables failing to display are the following:  </p>
  
  <pre><code>['Name']
  ['EmailAddress']
  ['datepicker']
  ['timeofsurvey']
  </code></pre>
  
  <p>All other variables are being displayed fine, As i said even the page that has the iframe inserted is also displaying all variables back to the user correctly. If you click to view page source code you see them fine... Then as soon as you view the inner iframe source code you see the variables above are missing.</p>
  
  <p>This is the outcome when viewing the iframe source code:</p>
  
  <pre><code>&lt;div id="app" my-app my-controller="Controller"&gt;
  &lt;form action="Processing.php" id="regForm" name="regForm" method="post"&gt;
  &lt;input type="hidden" value="" name="Full Name"&gt;       **&lt;----- This input is missing**
  &lt;input type="hidden" value="0123456789" name="Telephone"&gt;
  &lt;input type="hidden" value="" name="Email"&gt;       **&lt;------- This input is missing**
  &lt;input type="hidden" value=" " name="Building Number or Name"&gt;
  &lt;input type="hidden" value="NW1 1AA" name="Postcode"&gt;
  &lt;input type="hidden" value="Yes" name="PropertyOwner"&gt;    
  &lt;input type="hidden" value="" name="Survey Date"&gt;       **&lt;--- This input is missing**
  &lt;input type="hidden" value="" name="Survey Time"&gt;       **&lt;--- This input is missing**
  &lt;input type="hidden" name="field_passthrough1" value="Consumer" /&gt;
  &lt;input type="hidden" name="field_passthrough2" value="en-UK" /&gt;
  </code></pre>
  
  <p>I hope i have not gone the longest way round here trying to explain, as i understand a lot of you guys are really to busy to be reading long posts like mine when it will be something so simple.. I have spent 2 days trying all sorts to get this working and i can not seem to get a way round this.</p>
  
  <p>I would really appreciate any help guys, Thank You.</p>
  
  <p>#############  UPDATE TO LAMONDE ################</p>
  
  <p>This is how i now have the iframe and the only fields that are now missing is:   </p>
  
  <pre><code>['Name']
  ['EmailAddress']
  ['Building']
  </code></pre>
  
  <p>--->  ['datepicker'] and ['timeofsurvey'] are now working...</p>
  
  <pre><code>&lt;input type="hidden" value="&lt;?php echo $_SESSION['Name'];?&gt;" name="Name"&gt;
  &lt;input type="hidden" value="&lt;?php echo $_SESSION['Telephone'];?&gt;" name="Telephone"&gt;
  &lt;input type="hidden" value="&lt;?php echo $_SESSION['EmailAddress'];?&gt;" name="EmailAddress"&gt;
  &lt;input type="hidden" value="&lt;?php echo $_SESSION['Building'];?&gt; " name="Building"&gt;
  &lt;input type="hidden" value="&lt;?php echo $_SESSION['Postcode'];?&gt;" name="Postcode"&gt;
  &lt;input type="hidden" value="&lt;?php echo $_SESSION['PropertyOwner'];?&gt;" name="PropertyOwner"&gt;    
  &lt;input type="hidden" value="&lt;?php echo $_SESSION['datepicker'];?&gt;" name="datepicker"&gt;
  &lt;input type="hidden" value="&lt;?php echo $_SESSION['timeofsurvey'];?&gt;" name="timeofsurvey"&gt;  
  </code></pre>
  
  <p>Here is source view on page3.php iframe:</p>
  
  <pre><code>&lt;input type="hidden" value="" name="Name"&gt;
  &lt;input type="hidden" value="07541258585" name="Telephone"&gt;
  &lt;input type="hidden" value="" name="EmailAddress"&gt;
  &lt;input type="hidden" value=" " name="Building"&gt;
  &lt;input type="hidden" value="saas" name="Postcode"&gt;
  &lt;input type="hidden" value="No" name="PropertyOwner"&gt;    
  &lt;input type="hidden" value="21/01/2015" name="datepicker"&gt;
  &lt;input type="hidden" value="4:30 pm" name="timeofsurvey"&gt;  
  </code></pre>