Get ready for BLACK FRIDAY shopping starting in

Forums

ASP

This topic is locked

Add Form Values Together

Posted 26 Aug 2004 11:54:25
1
has voted
26 Aug 2004 11:54:25 Charles Knight posted:
How can I add the contents of two form inputs together to produce a single output:

<input name="Item" type="text" id="Item">
And
<input name="Amount" type="text" id="Amount">
Result:
Item Amount

Cheers
ck

Replies

Replied 27 Aug 2004 02:16:13
27 Aug 2004 02:16:13 Andrew Watson replied:
?

Do you just want to concatenate two values ??? if so the simply....

<pre id=code><font face=courier size=2 id=code>
varCombined = request.form("item" & " " & request.form("value"
</font id=code></pre id=code>

:: Son, im Thirty.... ::
Replied 27 Aug 2004 04:17:48
27 Aug 2004 04:17:48 Charles Knight replied:
Cool
Thanks Leed

Reply to this topic