<form> to multiple pages

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default <form> to multiple pages

    I would like the following form to send to the https that is shown, but I
    would also like it to send the same info to another page at the same time.
    Another option would be to just go back one page and refresh, but I have not
    been able to figure that out yet either.


    <?
    printf("
    <form method=\"post\" target=\"_blank\"
    action=\"https://www.asite.com/pagea.php\">
    <input type=\"hidden\" name=\"2bpassed\" value=\"1\">
    <input type=\"hidden\" name=\"2bpassed2\" value=\"1\">
    <input type=\"submit\" value=\²send\²>
    </form>
    ");
    ?>

    How do I get the same data to be sent to [url]https://www.asite.com/pageb.php[/url]
    with the same click of the send button?

    Any ideas?

    Thanks,
    Tim



    HTSoheili Guest

  2. Similar Questions and Discussions

    1. Same Link on Multiple Pages
      I have a link to an excel spreadsheet that needs weekly updating. The same link is throughout my site... what is the best way to make this update...
    2. Splitting an ASP.NET Form on Multiple Pages
      Hey, I am pretty new to web development and i am trying to create a form using ASP.NET that spans more than one page. The reason for this is the...
    3. update multiple records in multiple tables from one form
      hello I have been trying to run multiple update queries based on the data entered by user. Brief background: I am fetching data from various...
    4. Help! - Passing form data between multiple pages
      Hi, I am working on a multiple pages survey, right now if my user fill out page 1, click next, then fill out page2, page3, his answer will be...
    5. Remove form field duplicated across multiple pages
      Can a (text) form field duplicated across multiple pages in Acrobat 6.0.1 be removed in a simple operation, or must the field be removed from each...
  3. #2

    Default Re: <form> to multiple pages

    <form> to multiple pagesJavascript, give a name to your form first, then call this function when the person click submit

    function submitTwice() {
    document.myForm.submit();
    document.myForm.submit();
    }

    Savut
    "HTSoheili" <htsoheili@automatasystems.com> a écrit dans le message de news:BBFE1C22.2DAE%htsoheili@automatasystems.com.. .
    I would like the following form to send to the https that is shown, but I would also like it to send the same info to another page at the same time. Another option would be to just go back one page and refresh, but I have not been able to figure that out yet either.


    <?
    printf("
    <form method=\"post\" target=\"_blank\" action=\"https://www.asite.com/pagea.php\">
    <input type=\"hidden\" name=\"2bpassed\" value=\"1\">
    <input type=\"hidden\" name=\"2bpassed2\" value=\"1\">
    <input type=\"submit\" value=\"send\">
    </form>
    ");
    ?>

    How do I get the same data to be sent to [url]https://www.asite.com/pageb.php[/url] with the same click of the send button?

    Any ideas?

    Thanks,
    Tim


    Savut Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139