Hi,
I want to show the addition of these 2 "ints":intTotal and intSomething from a form and show the result on a confirmation page.
The form:
/first value to add
<input type="hidden" name="intTotal" value="<%= formatNumber((intTotal * 1.00), 2) %>">
/second value to add
<select name="intSomething">
<option value="7,00">A</option>
<option value="28,25">B</option>
<option value="21,70">C</option>
</select>
Can I use something like this in the form:
<input type="hidden" name="intAnother" value="<%= formatNumber((intTotal + intSomething), 2) %>">
And call it on the confirmation page with something like this:
<%
Dim sAnother
sAnother = Request.Form ("intAnother"
Response.Write sAnother
%>
I tried that but only intTotal shows, no addition...
This is the only thing missing, I just can't add the 2 values!!!
Thanx in advance,
Lucas
I want to show the addition of these 2 "ints":intTotal and intSomething from a form and show the result on a confirmation page.
The form:
/first value to add
<input type="hidden" name="intTotal" value="<%= formatNumber((intTotal * 1.00), 2) %>">
/second value to add
<select name="intSomething">
<option value="7,00">A</option>
<option value="28,25">B</option>
<option value="21,70">C</option>
</select>
Can I use something like this in the form:
<input type="hidden" name="intAnother" value="<%= formatNumber((intTotal + intSomething), 2) %>">
And call it on the confirmation page with something like this:
<%
Dim sAnother
sAnother = Request.Form ("intAnother"
Response.Write sAnother
%>
I tried that but only intTotal shows, no addition...
This is the only thing missing, I just can't add the 2 values!!!
Thanx in advance,
Lucas