Forms: Data Passing

Hi Guys,

I need to pass a set of data to be passed to a page "getmapprocess.asp" situated on the customer site using form. Is there any way that I can pass this automatically once our page being load instead of having to click submit button everytime? Below is the sample code given by my customer:-

<form name=frm method=post action="">
        Transaction_ID:<input name=Transaction_ID value="10001" ><br>
        Userid:<input name=Userid value="testuserid" ><br>
        Request_ID:<input name=Request_ID value="20002" ><br>
        Latitude:<input name=Latitude value="123.456789" ><br>
        Longitude:<input name=Longitude value="234.567890" ><br>
        First_RequestID:<input name=First_RequestID value="1" ><br>
        Other_Request:<input name=Other_Request value="0" ><br>
        Transaction_Time:<input name=Transaction_Time value="2006-04-20 10:20:36.850"><br>
        <INPUT type=submit value=Submit>

Appreciate your help here. Thanks a lot.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Somthing like this would do it:

<FORM NAME="frm">

<SCRIPT LANGUAGE="JavaScript"><!--

Obviously you can play around with the value.
rs-250Author Commented:
How about this then?

<BODY onLoad="updatequery.submit()">
  <img src="gif\globe.gif" height="40" width="40" align="middle">
  <form name="updatequery" method="post" action="">
     <input name="userid" value="#userid#" type="hidden">
      <input name="request_id" value="#requestid#" type="hidden">
      <input name="latitude" value="#latitude#" type="hidden">
      <input name="longitude" value="#longitude#" type="hidden">
      <input name="first_requestid" value="#FirstRequest#" type="hidden">
      <input name="other_request" value="#OtherRequest#" type="hidden">
      <input name="transaction_time" value="#CreateODBCDateTime(Now())#" type="hidden">
Since you are using ASP pages, you can set session variable. This way you can just set the session variables and then Response.Redirect(somewhere.asp).
rs-250Author Commented:

On my side, we're using CFM while the client on ASP
You can use query strings, but they can be hacked somewhat. The best option would probably be the javascript submit.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.