ASP Javascript/VBScript

Posted on 2006-05-31
Last Modified: 2010-04-06
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
<input type="SUBMIT" name="Send" value="Submit" onClick="CheckRegisration()">
This is what the code looks like on Confir.asp

script to post data to Access Database using Request.QueryString("Name")

Question by:lazzydog
    LVL 52

    Expert Comment

    by:Carl Tawn
    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.

    Author Comment

    Never mine...I got it.  
    LVL 10

    Expert Comment

    You should post the solution that you used for others whom may have this same problem.

    Author Comment

    The problem was that I had Request.From(x_Amount) and it should be Request.QueryString(x_Amount).
    LVL 11

    Expert Comment


    You may go here:

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

    Peace and joy.  mvan

    Author Comment

    Thanks mvan01.

    Accepted Solution

    Closed, 500 points refunded.
    Community Support Moderator
    replacement part #xm34
    LVL 11

    Expert Comment

    You are welcome, lazzydog.

    Peace and joy.  mvan

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: Create Mobile App Prototypes with Adobe XD

    This is a project-based course: we go through all the steps of creating a prototype from start to finish, using all the tools and features currently available in Adobe XD. You can complete the course in less than a day, plus all project files and fonts are included.

    Suggested Solutions

    There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
    What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
    The viewer will learn how to count occurrences of each item in an array.
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now