October 14th, 2011, 03:31 AM
Form fields in iFrame page, how can the parent page get the form data entered.
I have form input fields but it is being called through iFrame by the page. But how do I get or pass the data entered into the parent page.
When clicked Submit button, data will be passed to the next page.
<form action=next.cfm method="post">
<iframe namne="iframe" id="iframe_id" src="inputForm.html" height="150" >
<input name="Submit" type="submit">
Need your advice. Many thnks in advanced.
October 14th, 2011, 08:57 AM
What do you mean "passed to the next page"? Posting a form sends it to the server, where it is available in the form scope. If you need the data for multiple pages, use the session scope to store the data.