Click to See Complete Forum and Search --> : Form Check - Client Side... HOW?


weee
07-26-2005, 09:22 PM
I'd like to check the form I got on the server side. How can I do it?

Thanks!

buntine
07-26-2005, 10:53 PM
What? Do you mean you want to validate form input form the server?

That is just a case of acquiring the input data and ensuring it conforms to the use of the data.

Get the form element, and validate it:

Dim strElementName: strElementName = Request.Form("ElementName")

If strElementName = "" Or Not IsNumber(strElementName) Then
Response.Write "Some message"
End If

This just represents one way of validating a numeric input.

Regards.

weee
07-26-2005, 10:57 PM
That's how you vaidate a form with ASP?
What about different types of checks?

bathurst_guy
07-26-2005, 11:02 PM
Read up on ASP mate, then if you have errors, we'll help you then, we're not here to do it all for you

buntine
07-26-2005, 11:15 PM
Your question is a bit confusing. This is the ASP forum, why are asking for client-side validation?

Regards.