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!!



"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> --- Greg <[EMAIL PROTECTED]> wrote:
> > Hi, I have a form with an IFRAME nested in it. When
> > the form is submitted, I can't get the values of the
> > checkboxes in the IFRAME, is there any way to do
> > this?
>
> Well, I think (I could be wrong) you're looking at this
> wrong.
>
> Forms submit to resources identified by URLs. You specify
> this with the action attribute of the form tag. There is no
> idea of frames here.
>
> If you mean that the resource that your iframe loads does
> not have access to the form variables, then change your
> action attribute to that resource, and then it will.
>
> Chris



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to