dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: Form action

  1. #1
    Join Date
    Jan 2011
    Posts
    60

    Form action

    Hi,

    I have a form action: <form action="?login=1" method="post"> however the actual url is ../invoice.asp?loggedIn=1

    I want to be able to have the url being: ../invoicecar.asp?loggedIn=1 which is the new page.

    What does ?login=1 have to change to in order to acheive this?

    Thanks

  2. #2
    Join Date
    Oct 2005
    Posts
    9
    Your post is not clear, please elaborate.

  3. #3
    Join Date
    Jan 2011
    Posts
    60
    When logged in I'm directed to the URL: loggedIn/invoice.asp?loggedIn=1 which gives me 3 submit buttons.

    I have since created a new page so that when I login I'm directed to the new URL which has one submit button: loggedIn/invoicecar.asp?loggedIn=1

    But what do I need to change to make this happen as the form action only shows: ?login=1 not an .asp link?

    Thanks

  4. #4
    Join Date
    Jan 2008
    Location
    Florida
    Posts
    1,227
    ?login=1 simply sends the querystring variable to the same page.

    if the form is on form.asp then the form would be submitted to form.asp?login=1

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles