• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

ASP Javascript/VBScript

Hello Experts,

I really need your help on this matter.

Let me try to explain the whole situation so you get the idea of what I'm trying todo:
I have two asp pages, Registration.asp and Confirmation.asp.
 On Registration.asp I have check boxes for days they want
to register for and one hidden field for total amount (x_Amount).
The caculation scripts (JavaScript) is being done on this page, Registration.asp. It is working.
 
I'm using Response.Redirect method to post information on Confirm.asp
Response.Redirect ("Confirm.asp?CRThursday="&Request("CRThursday")& "&CRFriday="&Request("CRFriday").
An I'm using Request.QueryString on Confirm.asp to post the data. This part is  also working.  

I'm also doing and e-mail confirmation, my e-mail scripts (vbscript) is also on Registration.asp page.
Everything seems to be working, directs to Confirmation.asp along with all the information
they entered, and sends e-mail, but the problem/guestion is:  it doens't give me the total amount, "x_Amount".

I tested it with Post method and set Action to Confirmation.asp, it works; it posts  data give me
the total amount due.  I can not use this method otherwise my e-mail part won't work.

Anyone has any ideas? I greatly appriciate any help I can get

This is an example of  Registraiton.asp
<%
****************************************************
E-mailing scripts...
......
Everyhting successful direct to this page......

Response.Redirect ("Confirm.asp?CRThursday="&Request("CRThursday")& "&x_Amount="&Request("x_Amount").
      
%>

<script language="javascript">

my calcuation is done here
........
</script>
...
<input type="SUBMIT" name="Send" value="Submit" onClick="CheckRegisration()">
**************************************************************
This is what the code looks like on Confir.asp

<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
script to post data to Access Database using Request.QueryString("Name")


******************************************
0
lazzydog
Asked:
lazzydog
1 Solution
 
Carl TawnSystems and Integration DeveloperCommented:
How are you currently posting your checkbox values to Registration.asp ? If your checkboxes and x_Amount are all on the same page then they should all be getting posted together, if not then i'm a little confused as to what it is you are doing.
0
 
lazzydogAuthor Commented:
Never mine...I got it.  
0
 
ClickCentricCommented:
You should post the solution that you used for others whom may have this same problem.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
lazzydogAuthor Commented:
The problem was that I had Request.From(x_Amount) and it should be Request.QueryString(x_Amount).
Thanks
0
 
mvan01Commented:
lazzydog,

You may go here:
http://www.experts-exchange.com/Community_Support/

to request that the moderators PAQ this question and refund your point, in that you solved the problem yourself.  :-)

Peace and joy.  mvan
0
 
lazzydogAuthor Commented:
Thanks mvan01.
0
 
ee_ai_constructCommented:
Closed, 500 points refunded.
ee_ai_construct
Community Support Moderator
replacement part #xm34
0
 
mvan01Commented:
You are welcome, lazzydog.

Peace and joy.  mvan
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now