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
    Senior Member
    Join Date
    Mar 2002
    Location
    Alabama sans the damn flag
    Posts
    263
    Member #
    38
    Code:
           ModifyTotalPatButton = ModifyTotalPatButton & "<input 
                    type=submit value='" & ModifyTotalPatButtonText 
           ModifyTotalPatButton = ModifyTotalPatButton & "' 
                     name='TotalPatButton' action='DemoModify.asp' 
                     method='Post'></input>"
    Supposedly, the above code on a submit button should direct the
    action to DemoModify.asp with all the attendant information. It
    doesn't.

    I have the form set up as method=Post and action=somethingelse, but
    taking those out doesn't seem to make any difference.

    Suggestions?
    DerFarm
    I talk to squirrels.
    Squirrels Answer.

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Is the action and method in the <form> tag?
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Senior Member
    Join Date
    Mar 2002
    Location
    Alabama sans the damn flag
    Posts
    263
    Member #
    38
    yes, but its a different action. I thought that the immediate action trumped the form default action? but having just tried it, apparently not.

    Luckily, I only need to pass one thing to the page, so post is not necessary.
    DerFarm
    I talk to squirrels.
    Squirrels Answer.

  5. #4
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    AFAIK the only time action will work (other than JS) is when it's in the form tag.
    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 09:21 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com