I have a text box in my form. Earlier, this was an empty field and users have to enter a number in it and click submit. Upon submit, the value in this field is CLng'ed and checked with some other value. Everything was working fine.
Now, I have added a default value to that text field as:
<input type='text' name='quantity' value='1'>
Whenever I submit, there is an error as:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'CLng'
Why is this error? How should I represent the default value?
Phani
Now, I have added a default value to that text field as:
<input type='text' name='quantity' value='1'>
Whenever I submit, there is an error as:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'CLng'
Why is this error? How should I represent the default value?
Phani