Posting to the same page

Results 1 to 2 of 2

Thread: Posting to the same page

  1. #1
    Join Date
    Dec 1969

    Default Posting to the same page

    I am trying to post input from one sub procedure to another on the same page. Previously I've just taken the long route and created another page when posting form variables. So will this work: ACTION="delete_a_vehicle.asp?ShowForm_Page2" ShowForm_Page2 is the sub procedure that I want it posted to. I would appreciate any input that I can get. Thanks!

  2. #2
    Join Date
    Dec 1969

    Default RE: Posting to the same page

    personally I would use a hidden field, much tidier:<BR><BR>&#060;form action="delete_a_vehicle.asp"&#062;<BR>&#060;input type=hidden name=NextAction value="DeleteCar"&#062;<BR>..<BR><BR>That way you can change the &#039;NextAction&#039; using client side script if required, and this will also work if you decide to POST the form not &#039;GET&#039; it.<BR>

Posting Permissions

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