Note that there are some explanatory texts on larger screens.

plurals
  1. POHidden Input Values not being passed through form to New URL
    primarykey
    data
    text
    <p>I have a small html file working in the frame of a website. It currently requests a zip code and then calls a php page to query the database. The iframe gets the id number from the parent page and then gets the zip code from its own page. Here is the code snippet.</p> <pre><code>&lt;script&gt; pid = window.location.search; pid = pid.substring(11,16) htmlout = '&lt;input type = "hidden" name = "productid" id = "productid" value = "' + pid + '"&gt;'; &lt;/script&gt; &lt;body style="margin: 0px; background-color: #ECECEC;"&gt; &lt;form action="https://www.net10wirelessphones.com/Mini-zip-Lookup.html" style="text-align: left" method = "get"&gt; &lt;script&gt; document.write(htmlout); &lt;/script&gt;&lt;span style="font-size: 9pt"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif; color: #444444"&gt;Verify coverage in your area. Enter your Zip Code: &lt;/span&gt;&amp;nbsp; &lt;/span&gt; &lt;input name="zip" size="5" type="text" /&gt; &lt;input type="submit" value="GO" /&gt;&amp;nbsp;&lt;/form&gt; </code></pre> <p>However, When I enter the zip code 00631, it only goes to the site <a href="http://www.net10wirelessphones.com/Mini-zip-Lookup.html?zip=00631" rel="nofollow">http://www.net10wirelessphones.com/Mini-zip-Lookup.html?zip=00631</a></p> <p>It seems to be cutting off the hidden value from the form. Any suggestions on what I may be doing wrong?</p> <p>Edit: For those of you wanting to try it out, try it with the zip code 00631 and the product id 17637. It should accept this option and direct to the zipsuccess page. </p> <p>Edit: Also, if you want to see it from the start go to the page <a href="https://www.net10wirelessphones.com/zipstart.html?productid=17637" rel="nofollow">https://www.net10wirelessphones.com/zipstart.html?productid=17637</a>. Sorry I forgot to include it for those who have been trying it out.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload