#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2002
    Location
    My home
    Posts
    4
    Rep Power
    0

    Posting from one form on a page to another form


    Hello this might seem like a silly question but can you have one form on an html page post to another form on the same page?
    Thanks also another silly question I would like to have the information (all of the second form) hidden until the post is sent to it. Is that possible too?

    Thanks for any feedback.
  2. #2
  3. meester luva luva
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Posts
    2,715
    Rep Power
    25
    try

    <form name="1" action="(put either refresh in here or the page name)" method="post">

    <input type="text" name="text1">

    <submit>

    <form>

    <form name="2" action="(put either refresh in here or the page name)" method="post">

    <input type="text" name="text1" value="document.form1.text1.value">

    </form>

    I think thats right anyway.
  4. #3
  5. meester luva luva
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Posts
    2,715
    Rep Power
    25
    sorry... use

    <form name="form1" action="(put either refresh in here or the page name)" method="post">

    <input type="text" name="text1">

    <submit>

    <form>

    <form name="form2" action="(put either refresh in here or the page name)" method="post">

    <input type="text" name="text1" value="document.form1.text1.value">

    </form>

    made a naming mistake in the first one

IMN logo majestic logo threadwatch logo seochat tools logo