>>> [EMAIL PROTECTED] 10/5/2004 9:12:44 AM >>>
Hello, all.
I have to submit some values to a form action page. I have no choice
on the
far end: it is expecting POSTed form variables. On my end, though,
this is
kind of a pain, because I need to do an intermediate, non-user step
before
the submission. So my situation is:
UserForm - page on which user enters data.
ServerActionPage - page on which server does some stuff.
FormActionPage - page on far end that expects POSTed form variables.
I could set ServerActionPage to do its business in ColdFusion and put
the
variables into hidden form fields, then have _javascript_ that on the
client
side automatically submits the form. This puts one extra page in the
middle
of the process for the user. Yes, I know, the user won't really see
it, but
I always try to avoid that pesky "can't hit my back button" problem.
My question is this: is there some way to pass form variables that
doesn't
require a client-side action? I have successfully experimented with
adding
them to the query string, but I don't know whether this is something I
can
rely on. In other words, I have turned:
<FORM name="myForm" action=""> method="POST">
<INPUT name="field1" value="A" type="hidden">
<INPUT name="field2" value="B" type="hidden">
<INPUT name="field3" value="C" type="hidden">
</FORM>
...into:
http://www.myserver.com/myFormAction.html?field1=A&field2=B&field3=C
Is this a bad practice? Will it work reliably?
Thanks in advance,
Matthieu
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

