I have two pages:
the first is a form with a textbox and submit button. and the second is an asp that checks the values of the form.
if someone puts anything but a number in the textbox i want to convert it to an int so i use the following code:
<input type="text" name="price">
<%
price = request.form("price"
price = Cint(price)
%>
BUT this is giving me the error:
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'Cint'
search.asp, line 8
Can anyone tell me what im doing wrong?
the first is a form with a textbox and submit button. and the second is an asp that checks the values of the form.
if someone puts anything but a number in the textbox i want to convert it to an int so i use the following code:
<input type="text" name="price">
<%
price = request.form("price"
price = Cint(price)
%>
BUT this is giving me the error:
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'Cint'
search.asp, line 8
Can anyone tell me what im doing wrong?