Greg wrote:
not directly ..Here's the basic layout of my html page, this isn't the real html, just the basic idea.<html> <form action="test.php" method="post"> <input type="text" name="test1"> <iframe src = iframetest.php></iframe> <input type="button" label="Submit"> </form> </html> Now inside iframetest.php I have a few check boxes that I want test.php to be able to access. Is there any way to do this? Thanks!!
the form does not 'contain' the iframe - in fact the iframe is a different page ...
so form elements within the iframe page will not be a part of the form submission process
you /might/ be able to do something with javascript inter-frame communication - but I doubt you would want to (and the iframe doesn't sound like a valid page which could cause problems)
what would probably make more sense would be to make the 'html' page include iframetest.php'
html.php
----------
<html>
<form action="test.php" method="post">
<input type="text" name="test1">
<?php include("/path/iframetest.php"); ?>
<input type="button" label="Submit">
</form>
</html>
-----------------
then you form elements will be properly contained within the form
--
Sean
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php