Skip to main content
New Participant
March 10, 2007
Answered

Passing form variables to another web page?

  • March 10, 2007
  • 2 replies
  • 372 views
I have a simple select parameter screen that calls another web page. When I request the variable from the form in the detail page (request.form("app_sts")), the values are always blank. I have looked at this for hours and cannot get it to pass data. Can anyone help? Thanks in advance. Steve

Attached is the code for the parameter program and the detail prgram:

This topic has been closed for replies.
Correct answer chuckomalley
You have your form method set to POST. If you want to pass variables, you have to change the method to GET.

<form id="tradeapproval" name="tradeapproval" method="get" action="Trade_Approval_Ticket.asp">

Cheers

Chuck

2 replies

Inspiring
March 11, 2007
Post would be the way to do it with the request.form() function, no?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"chuckomalley" <webforumsuser@macromedia.com> wrote in message
news:et0hbj$sbt$1@forums.macromedia.com...
> You have your form method set to POST. If you want to pass variables, you
> have
> to change the method to GET.
>
> ><form id="tradeapproval" name="tradeapproval" method="get"
> action="Trade_Approval_Ticket.asp">
>
> Cheers
>
> Chuck
>


chuckomalleyCorrect answer
Inspiring
March 11, 2007
You have your form method set to POST. If you want to pass variables, you have to change the method to GET.

<form id="tradeapproval" name="tradeapproval" method="get" action="Trade_Approval_Ticket.asp">

Cheers

Chuck
da_riggyAuthor
New Participant
March 12, 2007
Thanks Chuck, that was the answer. It always amazes me how the solution can be staring you right in the face and you look right past it thinking the problem should be so much more complex.

Regards,
Steve