How i can check if user has input null/empty string in classic-asp? Right now i am doing this.
If Request.Form("productId") == "" Then
'my code here
End If
But its not working.
How i can check if user has input null/empty string in classic-asp? Right now i am doing this.
If Request.Form("productId") == "" Then
'my code here
End If
But its not working.
Classic ASP/VBScript uses one = to check for equality, not two. Another thing you may want to try is
If Request.Form("productid") = "" Then
Code here
End If