Multiple forms in one iframe container

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • draw

    Multiple forms in one iframe container

    I have one container page "container. htm"
    In this container I have multiple iframes "iframepage1.ht m",
    "iframepage2.ht m", etc. and one button firing a js script to submit.
    In every iframe page I have multiple input fields.
    In the container page I have one iframe page to display results
    "'iframeresults .htm".
    How can I send all the values of the input fields to one server page
    "process.ph p" where calculations are done and the results are send to the
    updated iframe result page?
    Let's take a simple example:
    in "iframepage1.ht m" I put the value 5
    in "iframepage2.ht m", I put the value 2
    with the submit button I will send both input values to the server page
    "calc.php" where we calculate the result =10
    This result is then send to the iframe result page "'iframeresults .htm" in
    the container "container.htm" and is updated.
    Can anyone help me the find a solution?


  • C.

    #2
    Re: Multiple forms in one iframe container

    On 26 Jul, 08:31, "draw" <m...@addresss. nikswrote:
    I have one container page "container. htm"
    In this container I have multiple iframes "iframepage1.ht m",
    "iframepage2.ht m", etc. and one button firing a js script to submit.
    In every iframe page I have multiple input fields.
    In the container page I have one iframe page to display results
    "'iframeresults .htm".
    How can I send all the values of the input fields to one server page
    "process.ph p" where calculations are done and the results are send to the
    updated iframe result page?
    Let's take a simple example:
    in "iframepage1.ht m" I put the value 5
    in "iframepage2.ht m", I put the value 2
    with the submit button I will send both input values to the server page
    "calc.php" where we calculate the result =10
    This result is then send to the iframe result page "'iframeresults .htm" in
    the container "container.htm" and is updated.
    Can anyone help me the find a solution?

    Its possible however quite difficult to implement[1] - I'd start by
    looking at why you need to have seperate forms runing in seperate
    iframes.

    [1] refresh the result page after submitting all the forms. In the
    source of the result page sleep() until the submissions from all the
    forms are available and generate the result.

    C.

    Comment

    Working...