Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Nov 2002
    Location
    USA
    Posts
    5
    Member #
    293
    Is it possible to call 2 "actions" in one html form? So that the same data would be processed by both scripts? Do you see any possible problems with that? Would it work? Thanks.

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    There isn't a way to do that because the browser wouldn't know how to redirect you once the form submission is complete (go to page1.php or page2.php?).

    The better thing to do is just combine or link the functionality of the two scripts into one file.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Junior Member
    Join Date
    Nov 2002
    Location
    USA
    Posts
    5
    Member #
    293
    Thanks filburt.

    What if both scripts redirected you to the same page?

  5. #4
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    The browser redirects according to the action tag so the script itself doesn't do the actual redirecting.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:07 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com