Welcome to WebmasterWorld Guest from 220.127.116.11
I think you have to pass the form variables through the first result page manually.
I understand you problem like this:
You have a page A where a form submission results in a page B which contain an iframe C where you want the form result to appear.
The target on the form on page A has to be page B. When generating page B (I assume it is dynamic) you insert the values of the form variables in the url in the SRC attribute of the iframe, so you can generate the content of the iframe.
So you have to send you form data to page B, even though you want the result shown in iframe C.
Maybe you should see if you can find another way of structuring you pages so you avoid having to bend over backwards like this. What I think you want to do can be done, but it is overly complicated, so it is better to find a simpler way. Follow the KISS priciple. It always pays off.
The page has to exist somehow. I assume you mean that if you go to the page/script without going throught the form you won't get anything on the page. If so no problem.
In the form you can obviously define a target window
I don't really understand this. Do you want it to open in a new window or the same window or the same page?
This is the way I see it. Your form has its fields etc on the main page. If you want it to open in a new window your submit button can be a button that calls a js function. This function can create a new window with the size and attributes you want. It can then submit the form and send it to the target window. The page/script that is opened in the new window then creates the iframe and fills it full of results.
that's one scenario.
I am still not sure if the iframe is on the same page. I am not really too sure where you want the iframe to show up. If it is on the same page you can post it to itself and reload the page and the results will pop into the iframe on reload.
You'll have to tell me if I came anywhere near the mark your post is a little confusing.
Thank you in advance for any advice!
I don't know how you create new pages in phpnuke so I can't really tell you how to do that but you obviously need a new page. In your content you will just need to use php to access the vars you passed from the form and use them to output the content.
You'll have to correct me if I'm oversimplifying but that seems to be your answer.
Next question, are you comfortable enough in php to do so? You could also create a page of your own design that outpus your results.