#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2005
    Posts
    49
    Rep Power
    10

    Form fields in iFrame page, how can the parent page get the form data entered.


    Hi,

    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.

    //parent page
    Code:
    <body>
    <form action=next.cfm method="post">
    <iframe namne="iframe" id="iframe_id" src="inputForm.html" height="150" >
    <input name="Submit" type="submit">
    </form>
    </body>
    When clicked Submit button, data will be passed to the next page.

    Need your advice. Many thnks in advanced.
  2. #2
  3. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,270
    Rep Power
    968
    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.

IMN logo majestic logo threadwatch logo seochat tools logo